Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
I shouldn't edit stuff with my phone but I do
  • Loading branch information
hiddenist authored Dec 14, 2023
1 parent d1c9e26 commit da7d6c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/components/EditableNumericLabel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function EditableNumericLabel(props: {
e.preventDefault()
const value = parseInt(target.innerText)
if (isNaN(value)) {
props.handleCancel()
props.onCancel()
break
}
props.onChange()
Expand Down

0 comments on commit da7d6c0

Please sign in to comment.