Skip to content

Commit 0434655

Browse files
fix: fix linter
1 parent 9180ac5 commit 0434655

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/webview/hooks/useSearch.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ function refreshResultIfStale() {
3838
// empty previous result
3939
hasStaleResult = false
4040
grouped = []
41-
resultChangeCallbacks.forEach(f => f())
41+
for (const f of resultChangeCallbacks) {
42+
f()
43+
}
4244
}
4345
}
4446
export function onResultChange(f: () => void) {

0 commit comments

Comments
 (0)