fixbug: [issue76]when click activities button, throw error;

This commit is contained in:
mitsuha 2022-08-04 18:42:55 +08:00
parent f0713400d0
commit b129030dbb

View File

@ -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(() => {