diff --git a/libs/components/layout/src/workspace-sidebar/activities/activities.tsx b/libs/components/layout/src/workspace-sidebar/activities/activities.tsx index 52ad5d2c5c..a532d9bd02 100644 --- a/libs/components/layout/src/workspace-sidebar/activities/activities.tsx +++ b/libs/components/layout/src/workspace-sidebar/activities/activities.tsx @@ -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(() => {