Skip to content

Commit 83c813f

Browse files
committedApr 25, 2024·
Fix undefined filter error
1 parent 3e76200 commit 83c813f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/features/collections/CollectionDetail.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ export const CollectionDetail = () => {
193193
);
194194
});
195195

196-
const searchFilterValue = filters?.['classification'].value;
196+
const searchFilterValue = filters?.['classification']?.value;
197197

198198
useEffect(() => {
199199
if (typeof searchFilterValue !== 'string') return;

0 commit comments

Comments
 (0)