We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 080e62d commit e9f9d44Copy full SHA for e9f9d44
1 file changed
src/editors/containers/EditorContainer/index.tsx
@@ -78,10 +78,8 @@ const EditorContainer: React.FC<Props> = ({
78
});
79
80
const onSave = () => {
81
- if (isDirty()) {
82
- setSaved(true);
83
- handleSave();
84
- }
+ setSaved(true);
+ handleSave();
85
};
86
// Stops user from navigating away if they have unsaved changes.
87
usePromptIfDirty(() => {
0 commit comments