Skip to content

Commit

Permalink
Update packages/admin/admin-rte/src/core/Controls/BlockTypesControls.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyomair authored Feb 21, 2024
1 parent c7fdbb5 commit 2c5768c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export function StyledBlockTypesControls(inProps: Props) {
);
}

//If there are no dropdown-features, this must return null not just an empty component, to prevent an empty item from being rendered in Toolbar
// If there are no dropdown-features, this must return null not just an empty component, to prevent an empty item from being rendered in Toolbar
export default (p: IControlProps) => {
const { editorState, setEditorState, editorRef, options } = p;
const { supports: supportedThings, blocktypeMap, standardBlockType } = options;
Expand Down

0 comments on commit 2c5768c

Please sign in to comment.