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 16, 2024
1 parent 408c665 commit 4e4d929
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 @@ const PostTitle = forwardRef( ( _, forwardedRef ) => {
__unstableDisableFormats: false,
} );

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

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

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

0 comments on commit 4e4d929

Please sign in to comment.