Skip to content

Commit

Permalink
fix: user config dependencies (#6326)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaryan610 authored Jan 6, 2025
1 parent a6216be commit fbbca0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/core/components/pages/editor/editor-body.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export const PageEditorBody: React.FC<Props> = observer((props) => {
name: currentUser?.display_name ?? "",
color: generateRandomColor(currentUser?.id ?? ""),
}),
[currentUser]
[currentUser?.display_name, currentUser?.id]
);

if (pageId === undefined || !realtimeConfig) return <PageContentLoader />;
Expand Down

0 comments on commit fbbca0c

Please sign in to comment.