Skip to content

Commit 8ddb25a

Browse files
Merge branch 'feat/design-library-full-pages' of https://github.com/gambitph/Stackable into feat/design-library-full-pages
2 parents a23d1c5 + 4c12a4f commit 8ddb25a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/design-library-list/design-preview.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export const DesignPreview = ( {
8888
// eslint-disable-next-line @wordpress/no-global-event-listener
8989
window.removeEventListener( 'mouseup', handleMouseUp )
9090
}
91-
}, [] )
91+
}, [ selectedTab ] )
9292

9393
useEffect( () => {
9494
// The scale might not be correct on first load, so adjust it again to be sure.

0 commit comments

Comments
 (0)