feat: initial import — ClickerZ formation project (Express + React/Vite)
This commit is contained in:
13
Frontend/src/components/timer/Timer.jsx
Executable file
13
Frontend/src/components/timer/Timer.jsx
Executable file
@@ -0,0 +1,13 @@
|
||||
import { useWildCoin } from "../WildCoin/WildCoinContext";
|
||||
|
||||
function Timer() {
|
||||
const { formatTime, seconds } = useWildCoin();
|
||||
|
||||
return (
|
||||
<div>
|
||||
<p>{formatTime(seconds)}</p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default Timer;
|
||||
Reference in New Issue
Block a user