Skip to content

Commit

Permalink
Editor: Fix initial edits applied again after saving the post
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Dec 24, 2024
1 parent 58a72af commit 994ade0
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions packages/editor/src/components/provider/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,15 +300,7 @@ export const ExperimentalEditorProvider = withRegistryProvider(
}
);
}
}, [
createWarningNotice,
initialEdits,
settings,
post,
recovery,
setupEditor,
updatePostLock,
] );
}, [] );

// Synchronizes the active post with the state
useEffect( () => {
Expand Down

0 comments on commit 994ade0

Please sign in to comment.