Quellcode durchsuchen

初始值1%进度

李富豪 vor 1 Jahr
Ursprung
Commit
4df5ce926b
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      app/components/home.tsx

+ 1 - 1
app/components/home.tsx

@@ -31,7 +31,7 @@ import { type ClientApi, getClientApi } from "../client/api";
 import { useAccessStore } from "../store";
 
 export function Loading() {
-  const [progress, setProgress] = useState(0);
+  const [progress, setProgress] = useState(1);
 
   useEffect(() => {
     let isMounted = true;