Skip to content

Commit 5b54435

Browse files
committed
restore effect deps with main
1 parent 60bd6d9 commit 5b54435

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/components/SearchModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ function LibraryRefinement() {
181181
if (!isAlreadyRefined && library) {
182182
refine(subpathname)
183183
}
184-
}, [items, refine, subpathname])
184+
}, [])
185185

186186
return (
187187
<div className="overflow-x-auto scrollbar-hide">
@@ -251,7 +251,7 @@ function FrameworkRefinement() {
251251
if (!isAlreadyRefined && framework) {
252252
refine(subpathname)
253253
}
254-
}, [items, refine, subpathname])
254+
}, [subpathname])
255255

256256
return (
257257
<div className="overflow-x-auto scrollbar-hide">

0 commit comments

Comments
 (0)