Commit 326fa33e authored by chechunchi's avatar chechunchi

optimize

parent 5c821d48
import "./index.scss";
import React, { useEffect, useState } from "react";
import AnimatedNumbers from "react-animated-numbers";
import { useSnapshot } from "valtio";
import { matStore } from "@/stores";
......@@ -29,7 +28,7 @@ export const Timer: React.FC = () => {
return (
<div id="timer-container">
<div className="timer">{<AnimatedNumbers animateToNumber={time} />}</div>
<div className="timer">{time}</div>
</div>
);
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment