fix: user config dependencies (#6326)
This commit is contained in:
parent
a6216beb7e
commit
fbbca0c519
1 changed files with 1 additions and 1 deletions
|
|
@ -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 />;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue