Skip to content

Commit

Permalink
ui: strip space from search string
Browse files Browse the repository at this point in the history
  • Loading branch information
meowcodes committed Jul 11, 2023
1 parent 148d96b commit 2f6713d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion querybook/webapp/redux/search/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ export function updateSearchString(searchString: string): ThunkResult<void> {
dispatch({
type: '@@search/SEARCH_STRING_UPDATE',
payload: {
searchString,
searchString: searchString.trim(),
},
});
mapStateToQueryParam(getState().search);
Expand Down

0 comments on commit 2f6713d

Please sign in to comment.