From e787b92944901e4b29d1c306c126b304fc3782a3 Mon Sep 17 00:00:00 2001 From: seaerchin Date: Thu, 25 Jul 2024 16:17:17 +0800 Subject: [PATCH] chore: remove `as const` --- .../components/form-builder/renderers/TipTapEditor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/studio/src/features/editing-experience/components/form-builder/renderers/TipTapEditor.tsx b/apps/studio/src/features/editing-experience/components/form-builder/renderers/TipTapEditor.tsx index 45715bb0b2..b017031896 100644 --- a/apps/studio/src/features/editing-experience/components/form-builder/renderers/TipTapEditor.tsx +++ b/apps/studio/src/features/editing-experience/components/form-builder/renderers/TipTapEditor.tsx @@ -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({