Skip to content

Commit

Permalink
add reset debouncedQuery when to close spotlight (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
komnb14 authored Mar 3, 2023
1 parent 02fd2f2 commit dfd1a6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ export default function App(props: AppProps & { colorScheme: ColorScheme }) {
<MantineProvider theme={{ colorScheme }} withGlobalStyles withNormalizeCSS>
<NotificationsProvider>
<SpotlightProvider
onSpotlightClose={() => setDebouncedQuery("")}
actions={[]}
searchIcon={<IconSearch size={18} />}
searchPlaceholder="Search..."
Expand Down

0 comments on commit dfd1a6c

Please sign in to comment.