diff --git a/bsg-frontend/apps/extension/customComponents/Toolbar/Toolbar.tsx b/bsg-frontend/apps/extension/customComponents/Toolbar/Toolbar.tsx index 50532450..b101cd08 100644 --- a/bsg-frontend/apps/extension/customComponents/Toolbar/Toolbar.tsx +++ b/bsg-frontend/apps/extension/customComponents/Toolbar/Toolbar.tsx @@ -29,7 +29,7 @@ export const Toolbar = () => { viewBox="0 0 36 30" fill="currentColor" xmlns="http://www.w3.org/2000/svg"> - \\ + @@ -62,8 +62,8 @@ export const Toolbar = () => { fill="none" stroke="currentColor" xmlns="http://www.w3.org/2000/svg"> - @@ -81,8 +81,8 @@ export const Toolbar = () => { fill="none" stroke="currentColor" xmlns="http://www.w3.org/2000/svg"> - @@ -141,9 +141,9 @@ export const Toolbar = () => { stroke="currentColor" > diff --git a/bsg-frontend/apps/extension/hooks/useRoundTimer.ts b/bsg-frontend/apps/extension/hooks/useRoundTimer.ts index 7c2e3cc0..2c04a0e7 100644 --- a/bsg-frontend/apps/extension/hooks/useRoundTimer.ts +++ b/bsg-frontend/apps/extension/hooks/useRoundTimer.ts @@ -24,14 +24,14 @@ export function useRoundTimer() { const minutes = Math.floor((diff % 3600000) / 60000); const seconds = Math.floor((diff % 60000) / 1000); setTimeRemaining( - `${hours > 0 ? `${hours}:` : ''}${hours > 0 && minutes < 10 ? '0' : ''}${minutes}:${seconds < 10 ? '0' : ''}${seconds}` + `${hours > 0 ? `${hours}:` : ''}${minutes < 10 ? '0' : ''}${minutes}:${seconds < 10 ? '0' : ''}${seconds}` ); } + }; - updateTimer(); - const interval = setInterval(updateTimer, 1000); - return () => clearInterval(interval); - } + updateTimer(); + const interval = setInterval(updateTimer, 1000); + return () => clearInterval(interval); }, [roundEndTime]); return { timeRemaining };