Search Box: Handle focus properly
This commit is contained in:
@@ -339,7 +339,10 @@ export function reducer(
|
||||
}
|
||||
|
||||
if (action.type === 'SEARCH_CLEAR') {
|
||||
return getEmptyState();
|
||||
return {
|
||||
...getEmptyState(),
|
||||
startSearchCounter: state.startSearchCounter,
|
||||
};
|
||||
}
|
||||
|
||||
if (action.type === 'SEARCH_UPDATE') {
|
||||
|
Reference in New Issue
Block a user