We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a23d1c5 + 4c12a4f commit 8ddb25aCopy full SHA for 8ddb25a
src/components/design-library-list/design-preview.js
@@ -88,7 +88,7 @@ export const DesignPreview = ( {
88
// eslint-disable-next-line @wordpress/no-global-event-listener
89
window.removeEventListener( 'mouseup', handleMouseUp )
90
}
91
- }, [] )
+ }, [ selectedTab ] )
92
93
useEffect( () => {
94
// The scale might not be correct on first load, so adjust it again to be sure.
0 commit comments