diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-02 00:51:27 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-02 00:51:27 +0800 |
commit | f9a38fcb32ee4e755c7f271a1c5a116c29985a10 (patch) | |
tree | 6d84100fe1b8139b832ff286c4bbd5669e18df1b /packages/instant/src/containers/selected_asset_progress.tsx | |
parent | 906909e33fe97d49196696c528c131c1a1c66f14 (diff) | |
download | dexon-0x-contracts-f9a38fcb32ee4e755c7f271a1c5a116c29985a10.tar.gz dexon-0x-contracts-f9a38fcb32ee4e755c7f271a1c5a116c29985a10.tar.zst dexon-0x-contracts-f9a38fcb32ee4e755c7f271a1c5a116c29985a10.zip |
ended -> hasEnded
Diffstat (limited to 'packages/instant/src/containers/selected_asset_progress.tsx')
-rw-r--r-- | packages/instant/src/containers/selected_asset_progress.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/instant/src/containers/selected_asset_progress.tsx b/packages/instant/src/containers/selected_asset_progress.tsx index afbb45dac..a910d8031 100644 --- a/packages/instant/src/containers/selected_asset_progress.tsx +++ b/packages/instant/src/containers/selected_asset_progress.tsx @@ -24,14 +24,14 @@ export const SelectedAssetSimulatedProgressComponent: React.StatelessComponent< buyOrderState.processState === OrderProcessState.FAILURE ) { const progress = buyOrderState.progress; - const ended = buyOrderState.processState !== OrderProcessState.PROCESSING; + const hasEnded = buyOrderState.processState !== OrderProcessState.PROCESSING; const expectedTimeMs = progress.expectedEndTimeUnix - progress.startTimeUnix; return ( <Container padding="20px 20px 0px 20px" width="100%"> <Container marginBottom="5px"> - <TimeCounter estimatedTimeMs={expectedTimeMs} ended={ended} key={progress.startTimeUnix} /> + <TimeCounter estimatedTimeMs={expectedTimeMs} hasEnded={hasEnded} key={progress.startTimeUnix} /> </Container> - <TimedProgressBar expectedTimeMs={expectedTimeMs} ended={ended} key={progress.startTimeUnix} /> + <TimedProgressBar expectedTimeMs={expectedTimeMs} hasEnded={hasEnded} key={progress.startTimeUnix} /> </Container> ); } |