add more slices

This commit is contained in:
lb
2023-11-10 10:09:50 +08:00
parent a18cb7a1c7
commit 3821121a6f
8 changed files with 487 additions and 285 deletions

View File

@@ -1,6 +1,7 @@
import { useEffect, useState } from "react";
function useTimeCounter(time) {
console.log('time counter executed...')
// time: 8分12秒 这种
const [timeTuple, setTimeTuple] = useState([0, 0]);