mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-18 10:36:22 +08:00
fix(core): fix desktop e2e (#5867)
This commit is contained in:
@@ -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