Skip to content

Commit

Permalink
Block Editor: Subscribe only to block editor store in useBlockSync (W…
Browse files Browse the repository at this point in the history
  • Loading branch information
tyxla authored Oct 4, 2023
1 parent 0f16fec commit b90ed86
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 b90ed86

Please sign in to comment.