[WIKI-826] chore: add unique id as key to logo selector (#8494)

This commit is contained in:
Vipin Chaudhary
2026-01-07 15:05:14 +05:30
committed by GitHub
parent ea1f92e0c6
commit b83d460938
2 changed files with 2 additions and 1 deletions

View File

@@ -35,6 +35,7 @@ export function CustomCalloutBlock(props: CustomCalloutNodeViewProps) {
}}
>
<CalloutBlockLogoSelector
key={node.attrs["id"]}
blockAttributes={node.attrs}
disabled={!editor.isEditable}
isOpen={isEmojiPickerOpen}

View File

@@ -33,7 +33,7 @@ export function CalloutBlockLogoSelector(props: Props) {
return (
<div contentEditable={false}>
<EmojiPicker
closeOnSelect={false}
closeOnSelect={true}
isOpen={isOpen}
handleToggle={handleOpen}
className="flex-shrink-0 grid place-items-center"