Skip to content

Commit

Permalink
fix: unused prop
Browse files Browse the repository at this point in the history
  • Loading branch information
henry-deriv committed May 28, 2024
1 parent 5bd8021 commit 60d227a
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import useContractDetails from 'AppV2/Hooks/useContractDetails';
import React from 'react';

type DealCancellationRemainingTimeProps = {
end_time?: number;
format?: string;
};

Expand All @@ -22,8 +21,6 @@ const DealCancellationRemainingTime = observer(({ format = 'mm:ss' }: DealCancel

const { timestamp } = formatDuration(getDiffDuration(start_time.unix(), end_time), format);

const is_zeroes = /^00:00$/.test(timestamp);

return (
<React.Fragment>
<Tag
Expand Down

0 comments on commit 60d227a

Please sign in to comment.