Skip to content

Commit

Permalink
proper search-bar view and allignment
Browse files Browse the repository at this point in the history
  • Loading branch information
souvikjs01 committed Dec 7, 2024
1 parent edc6eca commit 2129729
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/AlgoliaSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,9 @@ export function SearchButton({ children, indexName = INDEX_NAME, ...props }: ISe
if (typeof children === 'function') {
setChildren(children({ actionKey }));
}
else {
setChildren(children);
}
}, []);

return (
Expand Down

0 comments on commit 2129729

Please sign in to comment.