diff options
Diffstat (limited to 'src/components/Result')
| -rw-r--r-- | src/components/Result/index.tsx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/components/Result/index.tsx b/src/components/Result/index.tsx index 46959a6..21d1a1b 100644 --- a/src/components/Result/index.tsx +++ b/src/components/Result/index.tsx @@ -106,13 +106,6 @@ export function Result({ onPlayAgain, }: Props) { const [timeLeftStr, setTimeLeftStr] = useState<string>(''); - const now = new Date(); - const nextUtcMidnight = Date.UTC( - now.getUTCFullYear(), - now.getUTCMonth(), - now.getUTCDate() + 1, - 0, 0, 0 - ); React.useEffect(() => { const updateTimeLeft = () => { |
