Skip to content

Commit

Permalink
fix ctl+s for now
Browse files Browse the repository at this point in the history
  • Loading branch information
nleroy917 committed Jul 18, 2024
1 parent ce223ae commit 13fb7e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web/src/components/project/project-interface.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ export const ProjectInterface = (props: Props) => {
}
// SAVE (ctrl + s)
if (ctrlKey && e.key === 's') {
if (projectUpdates.formState.isDirty && !isSubmitting) {
if (true && !isSubmitting) {
// TODO: why does this not work in production?
// if (projectUpdates.formState.isDirty && !isSubmitting) {
e.preventDefault();
handleSubmit();
}
Expand Down

0 comments on commit 13fb7e1

Please sign in to comment.