Skip to content

Commit

Permalink
Chore: Removed unwanted debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
Kallyan01 committed Dec 15, 2024
1 parent a11e2ac commit 9df1dd1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/editor/src/components/post-title/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@ function PostTitle( _, forwardedRef ) {
__unstableDisableFormats: false,
} );

useEffect( () => {}, [ history ] );

useEffect( () => {}, [ selection, currentHistoryIndex ] );

useEffect( () => {
if ( editorAction !== 'undo' && editorAction !== 'redo' ) {
updateHistory( selection.start );
Expand Down

0 comments on commit 9df1dd1

Please sign in to comment.