aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/containers/latest_error.tsx
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-10-20 06:01:54 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-10-20 06:01:54 +0800
commita017f5e38561a152e8a757b340c1b0c6b3a3e21f (patch)
tree5ff144d227cab99c80d19bc7b4c3617e89c12e77 /packages/instant/src/containers/latest_error.tsx
parent100f446031e84c367f1d0852ef60fd04d4544b9f (diff)
parent2c308c0f4c172293e634d27f731d026e0361e639 (diff)
downloaddexon-sol-tools-a017f5e38561a152e8a757b340c1b0c6b3a3e21f.tar.gz
dexon-sol-tools-a017f5e38561a152e8a757b340c1b0c6b3a3e21f.tar.zst
dexon-sol-tools-a017f5e38561a152e8a757b340c1b0c6b3a3e21f.zip
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into feature/instant/beta-render-et-al
Diffstat (limited to 'packages/instant/src/containers/latest_error.tsx')
-rw-r--r--packages/instant/src/containers/latest_error.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/instant/src/containers/latest_error.tsx b/packages/instant/src/containers/latest_error.tsx
index 1d02cab23..b75ec00aa 100644
--- a/packages/instant/src/containers/latest_error.tsx
+++ b/packages/instant/src/containers/latest_error.tsx
@@ -3,8 +3,8 @@ import * as React from 'react';
import { connect } from 'react-redux';
import { SlidingError } from '../components/sliding_error';
-import { LatestErrorDisplay, State } from '../redux/reducer';
-import { Asset } from '../types';
+import { State } from '../redux/reducer';
+import { Asset, DisplayStatus } from '../types';
import { errorUtil } from '../util/error';
export interface LatestErrorComponentProps {
@@ -30,7 +30,7 @@ export interface LatestErrorProps {}
const mapStateToProps = (state: State, _ownProps: LatestErrorProps): ConnectedState => ({
asset: state.selectedAsset,
latestError: state.latestError,
- slidingDirection: state.latestErrorDisplay === LatestErrorDisplay.Present ? 'up' : 'down',
+ slidingDirection: state.latestErrorDisplay === DisplayStatus.Present ? 'up' : 'down',
});
export const LatestError = connect(mapStateToProps)(LatestErrorComponent);