diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-10 19:39:37 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-10 19:43:50 +0800 |
commit | e34b0af25133629ad4c177c4d7d5050bd6ac19b8 (patch) | |
tree | 936eae17521984e5ccc28057973461e707322326 /packages/website/ts/containers | |
parent | fa7237fde7acea32c5492f0dcdef4d55b3ade6e1 (diff) | |
download | dexon-sol-tools-e34b0af25133629ad4c177c4d7d5050bd6ac19b8.tar dexon-sol-tools-e34b0af25133629ad4c177c4d7d5050bd6ac19b8.tar.gz dexon-sol-tools-e34b0af25133629ad4c177c4d7d5050bd6ac19b8.tar.bz2 dexon-sol-tools-e34b0af25133629ad4c177c4d7d5050bd6ac19b8.tar.lz dexon-sol-tools-e34b0af25133629ad4c177c4d7d5050bd6ac19b8.tar.xz dexon-sol-tools-e34b0af25133629ad4c177c4d7d5050bd6ac19b8.tar.zst dexon-sol-tools-e34b0af25133629ad4c177c4d7d5050bd6ac19b8.zip |
Fix ts error in portal after enabling more strict checks
Diffstat (limited to 'packages/website/ts/containers')
-rw-r--r-- | packages/website/ts/containers/portal.tsx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/packages/website/ts/containers/portal.tsx b/packages/website/ts/containers/portal.tsx index cdf5fc268..f0247935b 100644 --- a/packages/website/ts/containers/portal.tsx +++ b/packages/website/ts/containers/portal.tsx @@ -3,11 +3,7 @@ import * as _ from 'lodash'; import * as React from 'react'; import { connect } from 'react-redux'; import { Dispatch } from 'redux'; -import { - Portal as PortalComponent, - PortalAllProps as PortalComponentAllProps, - PortalPassedProps as PortalComponentPassedProps, -} from 'ts/components/portal'; +import { Portal as PortalComponent, PortalAllProps as PortalComponentAllProps } from 'ts/components/portal'; import { Dispatcher } from 'ts/redux/dispatcher'; import { State } from 'ts/redux/reducer'; import { BlockchainErrs, HashData, Order, ScreenWidths, Side, TokenByAddress, TokenStateByAddress } from 'ts/types'; @@ -80,6 +76,6 @@ const mapDispatchToProps = (dispatch: Dispatch<State>): ConnectedDispatch => ({ dispatcher: new Dispatcher(dispatch), }); -export const Portal: React.ComponentClass<PortalComponentPassedProps> = connect(mapStateToProps, mapDispatchToProps)( +export const Portal: React.ComponentClass<PortalComponentAllProps> = connect(mapStateToProps, mapDispatchToProps)( PortalComponent, ); |