Skip to content

Commit 4e13af3

Browse files
fix: fix linting
1 parent 1bb49e2 commit 4e13af3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webview/SearchSidebar/SearchResultList/useListState.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export function useStickyShadow(filePath: string) {
6363
return () => {
6464
observer.disconnect()
6565
}
66-
}, [isScrolled])
66+
}, [isScrolled, setScrolled, filePath])
6767
return {
6868
isScrolled,
6969
ref,

0 commit comments

Comments
 (0)