Skip to content

Commit f84b043

Browse files
authored
fix: toc lost bug when page is full reload (#1830)
1 parent f184c73 commit f84b043

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/theme/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ const entryExports = {
392392
393393
export default function DumiContextWrapper() {
394394
const outlet = useOutlet();
395-
const [loading, setLoading] = useState(true);
395+
const [loading, setLoading] = useState(false);
396396
const prev = useRef(history.location.pathname);
397397
398398
useEffect(() => {

0 commit comments

Comments
 (0)