Skip to content

Commit

Permalink
allow spaces at the begingin and the end of the phrase
Browse files Browse the repository at this point in the history
  • Loading branch information
gskrobisz committed Jul 6, 2024
1 parent 251565e commit 72c7f62
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function SearchPanel(props: ToolbarPanelProps): ReactElement {
>
<SearchIcon isEmpty={isEmpty(filter)} />
</SearchInputWithIcon>
<SearchResults filterValues={[filter.toLowerCase().trim()].filter(Boolean)} />
<SearchResults filterValues={[filter.toLowerCase()].filter(Boolean)} />
</ToolbarWrapper>
);
}

0 comments on commit 72c7f62

Please sign in to comment.