Skip to content

Commit

Permalink
Block Editor: Subscribe only to block editor store in useBlockSync
Browse files Browse the repository at this point in the history
  • Loading branch information
tyxla committed Oct 4, 2023
1 parent 8f80a11 commit 0e9f2b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ export default function useBlockSync( {
} );
}
previousAreBlocksDifferent = areBlocksDifferent;
} );
}, blockEditorStore );

return () => {
subscribed.current = false;
Expand Down

0 comments on commit 0e9f2b3

Please sign in to comment.