Skip to content

Commit 6b6768c

Browse files
committed
fix: remove unused index parameter in template mapping
1 parent 163100e commit 6b6768c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/notes/NotesPanel/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ export default function FilesPanel({
307307
<div className="px-2 py-1.5 text-xs font-medium text-muted-foreground">
308308
CREATE FROM TEMPLATE
309309
</div>
310-
{NOTE_TEMPLATES.map((template, index) => (
310+
{NOTE_TEMPLATES.map((template) => (
311311
<DropdownMenuItem
312312
key={template.id}
313313
onClick={() => onCreateNote({ title: template.title, content: template.content })}

0 commit comments

Comments
 (0)