mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-11-27 08:08:34 +03:00
fix(core): fix desktop e2e (#5867)
This commit is contained in:
1 file changed
+1
-1
@@ -38,7 +38,7 @@ export const Component = () => {
|
||||
const { openPage } = useNavigateHelper();
|
||||
|
||||
useLayoutEffect(() => {
|
||||
if (list.length === 0 && !listLoading) {
|
||||
if (list.length === 0 || listLoading) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user