File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/react/src/FormattingToolbar/components/DefaultDropdowns Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export const defaultBlockTypeDropdownItems: BlockTypeDropdownItem[] = [
4242 isSelected : ( block ) =>
4343 block . type === "heading" &&
4444 "level" in block . props &&
45- block . props . level === "1" ,
45+ block . props . level === 1 ,
4646 } ,
4747 {
4848 name : "Heading 2" ,
@@ -52,7 +52,7 @@ export const defaultBlockTypeDropdownItems: BlockTypeDropdownItem[] = [
5252 isSelected : ( block ) =>
5353 block . type === "heading" &&
5454 "level" in block . props &&
55- block . props . level === "2" ,
55+ block . props . level === 2 ,
5656 } ,
5757 {
5858 name : "Heading 3" ,
@@ -62,7 +62,7 @@ export const defaultBlockTypeDropdownItems: BlockTypeDropdownItem[] = [
6262 isSelected : ( block ) =>
6363 block . type === "heading" &&
6464 "level" in block . props &&
65- block . props . level === "3" ,
65+ block . props . level === 3 ,
6666 } ,
6767 {
6868 name : "Bullet List" ,
You can’t perform that action at this time.
0 commit comments