李富豪 преди 1 година
родител
ревизия
4df5ce926b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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;