Skip to content

Commit 285fd2a

Browse files
committed
chore: remove commented code
1 parent 3d01957 commit 285fd2a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/client/Editor.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,7 @@ export const Editor: FC<EditorProps> = ({ code, setCode, parameters }) => {
120120
({ name, label, icon: Icon, snippet }, index) => (
121121
<DropdownMenuItem
122122
key={index}
123-
onClick={() =>
124-
// setCode(`${code.trimEnd()}\n\n${snippet()}\n`)
125-
onAddSnippet(name, snippet)
126-
}
123+
onClick={() => onAddSnippet(name, snippet)}
127124
>
128125
<Icon size={24} />
129126
{label}

0 commit comments

Comments
 (0)