Skip to content

Commit

Permalink
chore: remove as const
Browse files Browse the repository at this point in the history
  • Loading branch information
seaerchin committed Jul 25, 2024
1 parent 56c1a81 commit e787b92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ interface TiptapEditorProps extends BoxProps {
handleChange: (content: JSONContent) => void
}

const HEADING_LEVELS: Level[] = [2, 3, 4, 5, 6] as const
const HEADING_LEVELS: Level[] = [2, 3, 4, 5, 6]

export function TiptapEditor({ data, handleChange }: TiptapEditorProps) {
const editor = useEditor({
Expand Down

0 comments on commit e787b92

Please sign in to comment.