Skip to content

Commit

Permalink
fix commet
Browse files Browse the repository at this point in the history
  • Loading branch information
miya committed Sep 10, 2024
1 parent 9fb90c1 commit 35c38c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/app/src/stores/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export const useSWRxCurrentPage = (initialData?: IPagePopulatedToShowRevision|nu
return true;
}

// mutate When a different revision is opened
// mutate when opening a previous revision.
if (!isLatestRevision
&& cachedData.revision?._id != null && initialData.revision?._id != null
&& cachedData.revision._id !== initialData.revision._id
Expand Down

0 comments on commit 35c38c9

Please sign in to comment.