Skip to content

Commit

Permalink
print preventDefault
Browse files Browse the repository at this point in the history
  • Loading branch information
tynatsuhara committed Mar 1, 2024
1 parent 6cb466d commit b6c1633
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/UI.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export const UI = () => {
e.preventDefault()
saveFn()
} else if (e.key === 'p') {
e.preventDefault()
printDoc()
}
}
Expand Down

0 comments on commit b6c1633

Please sign in to comment.