diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-27 08:53:50 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-27 08:53:50 +0800 |
commit | 80a53aedf220948675a938dc4ae5227381fb96e5 (patch) | |
tree | 5598599f5815412664d380db008d30ad65468306 /packages | |
parent | 0192127e5d20222698673d5c63c1025a10d5011f (diff) | |
download | dexon-0x-contracts-80a53aedf220948675a938dc4ae5227381fb96e5.tar.gz dexon-0x-contracts-80a53aedf220948675a938dc4ae5227381fb96e5.tar.zst dexon-0x-contracts-80a53aedf220948675a938dc4ae5227381fb96e5.zip |
Fix props
Diffstat (limited to 'packages')
-rw-r--r-- | packages/instant/src/components/zero_ex_instant_container.tsx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/packages/instant/src/components/zero_ex_instant_container.tsx b/packages/instant/src/components/zero_ex_instant_container.tsx index b72493ce6..72a3cde2f 100644 --- a/packages/instant/src/components/zero_ex_instant_container.tsx +++ b/packages/instant/src/components/zero_ex_instant_container.tsx @@ -19,20 +19,18 @@ import { SlidingPanel } from './sliding_panel'; import { Container } from './ui/container'; import { Flex } from './ui/flex'; -export interface ZeroExInstantContainerProps { - orderProcessState: OrderProcessState; -} +export interface ZeroExInstantContainerProps {} export interface ZeroExInstantContainerState { tokenSelectionPanelAnimationState: SlideAnimationState; } -export class ZeroExInstantContainer extends React.Component<{}, ZeroExInstantContainerState> { +export class ZeroExInstantContainer extends React.Component<ZeroExInstantContainerProps, ZeroExInstantContainerState> { public state = { tokenSelectionPanelAnimationState: 'none' as SlideAnimationState, }; private _handlePanelCloseClickedX: () => void; private _handlePanelCloseAfterChose: () => void; - public constructor(props: {}) { + public constructor(props: ZeroExInstantContainerProps) { super(props); this._handlePanelCloseClickedX = this._handlePanelClose.bind(this, TokenSelectorClosedVia.ClickedX); this._handlePanelCloseAfterChose = this._handlePanelClose.bind(this, TokenSelectorClosedVia.TokenChose); |