diff --git a/app/components/FilesEditor/ContextMenu/rename.tsx b/app/components/FilesEditor/ContextMenu/rename.tsx index dcd3160..a7e6159 100644 --- a/app/components/FilesEditor/ContextMenu/rename.tsx +++ b/app/components/FilesEditor/ContextMenu/rename.tsx @@ -12,10 +12,9 @@ const Rename = (props: Props) => { const handleKeyDown = (event: React.KeyboardEvent) => { if (event.key === "Escape") { - console.log("esc"); closeRemapFunction(); } else if (event.key === "Enter") { - console.log("enter pressed"); + renameCallback(file, newName); } };