Skip to content

Commit 3fc725a

Browse files
committed
fix
1 parent ee5a160 commit 3fc725a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

components/components/chatInput/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ export default function ChatInput({openWhiteboard, showAnim}: props) {
6161
if (initCreateText) {
6262
setLoading(true);
6363
setInitCreate(true);
64-
router.push('/editor', { scroll: false });
64+
setTimeout(() => {
65+
router.push('/editor', { scroll: false });
66+
}, 1000)
6567
// setLoading(false);
6668
}
6769
}

0 commit comments

Comments
 (0)