Skip to content

Commit d727100

Browse files
committed
fix filter
1 parent 048572d commit d727100

File tree

1 file changed

+1
-1
lines changed
  • src/components/modal-design-library

1 file changed

+1
-1
lines changed

src/components/modal-design-library/modal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export const ModalDesignLibrary = props => {
7878
const [ selectedContainerScheme, setSelectedContainerScheme ] = useState( '' )
7979
const [ selectedBackgroundScheme, setSelectedBackgroundScheme ] = useState( '' )
8080

81-
const savedPatterns = applyFilters( 'stackable.design-library.patterns', selectedTab )
81+
const savedPatterns = applyFilters( 'stackable.design-library.patterns', [], selectedTab )
8282

8383
// For version 4, the default tab is now 'patterns' and for category, we use '' instead of 'All'.
8484
// So we need to update the local storage values here.

0 commit comments

Comments
 (0)