Skip to content

Commit c53481f

Browse files
committed
Fix closing ui palette
1 parent 54dd877 commit c53481f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/command-pallette/CommandPalletteUI/CommandPaletteSearchBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export function CommandPaletteSearchBar({
7777
shellbarCurr?.removeAttribute('show-search-field');
7878
searchField.style.display = 'none';
7979
}
80-
}, [shellbarRef?.current, shellbarWidth]); // eslint-disable-line react-hooks/exhaustive-deps
80+
}, [shellbarRef?.current, shellbarWidth, shouldShowDialog]); // eslint-disable-line react-hooks/exhaustive-deps
8181

8282
return (
8383
<>

0 commit comments

Comments
 (0)