Skip to content

Commit

Permalink
formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Bl20052005 committed Nov 2, 2024
1 parent 34a6f08 commit cc371a9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions apps/site/src/app/(home)/sections/Countdown/Countdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,13 @@ const Countdown: React.FC<CountdownProps> = ({ schedule }) => {
before.endTime.getTime() > 0
? curTime.getTime() < before.startTime.getTime()
? 0
: 100 - ((before.endTime.getTime() - curTime.getTime()) /
: 100 -
((before.endTime.getTime() - curTime.getTime()) /
(before.endTime.getTime() - before.startTime.getTime())) *
100
100
: 100;

const [w, ] = useWindow();
const [w] = useWindow();

const totalLines = Math.floor(w / 66) > 7 ? Math.floor(w / 66) : 7;

Expand Down

0 comments on commit cc371a9

Please sign in to comment.