Skip to content

Commit

Permalink
fix escape
Browse files Browse the repository at this point in the history
  • Loading branch information
bunsenstraat committed Sep 25, 2023
1 parent a9ce960 commit c51ecd0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/remix-ui/workspace/src/lib/components/file-label.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ export const FileLabel = (props: FileLabelProps) => {
}
if (event.which === 27) {
event.preventDefault()
editModeOff(labelRef.current.innerText)
// don't change it
editModeOff(file.name)
}
}

Expand Down

0 comments on commit c51ecd0

Please sign in to comment.