mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-18 05:31:31 +03:00
fixbug: [issue76]when click activities button, throw error;
This commit is contained in:
parent
f0713400d0
commit
b129030dbb
@ -70,12 +70,12 @@ export const Activities = () => {
|
||||
return;
|
||||
}
|
||||
|
||||
const RecentEditPages =
|
||||
const recentEditPages =
|
||||
(await services.api.userConfig.getRecentEditedPages(
|
||||
currentSpaceId
|
||||
)) || [];
|
||||
|
||||
setRecentPages(RecentEditPages);
|
||||
setRecentPages(recentEditPages);
|
||||
}, [currentSpaceId, userId]);
|
||||
|
||||
useEffect(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user