Skip to content

Commit

Permalink
fix: correct execution time ceiling
Browse files Browse the repository at this point in the history
  • Loading branch information
chybisov committed Oct 21, 2022
1 parent 689ca8c commit c6cecbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/widget/src/components/Step/StepTimer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const StepTimer: React.FC<{ step: Step; hideInProgress?: boolean }> = ({
return (
<>
{t('swap.estimatedTime', {
value: (step.estimate.executionDuration / 60).toFixed(0),
value: Math.ceil(step.estimate.executionDuration / 60),
})}
</>
);
Expand Down

0 comments on commit c6cecbd

Please sign in to comment.