fix(deps): update dependency @udecode/plate to v19.1.1 (#424)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Lautzenheiser <lautzd@gmail.com>
This commit is contained in:
@ -39,7 +39,7 @@ const ColorPickerToolbarDropdown: FC<ColorPickerToolbarDropdownProps> = ({
|
||||
|
||||
const type = getPluginType(editorRef, pluginKey);
|
||||
|
||||
const color = editorRef && getMark(editorRef, type);
|
||||
const color = editorRef && (getMark(editorRef, type) as string);
|
||||
|
||||
const [selectedColor, setSelectedColor] = useState<string>();
|
||||
|
||||
|
Reference in New Issue
Block a user