Set default value for SearchBar as zero
Signed-off-by: Camila Belo <camilaibs@gmail.com> Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
committed by
Eric Peterson
parent
83a293b5f9
commit
8f3994141b
@@ -35,7 +35,7 @@ type Props = {
|
||||
debounceTime?: number;
|
||||
};
|
||||
|
||||
export const SearchBarNext = ({ debounceTime = 200 }: Props) => {
|
||||
export const SearchBarNext = ({ debounceTime = 0 }: Props) => {
|
||||
const classes = useStyles();
|
||||
const { term, setTerm } = useSearch();
|
||||
const [value, setValue] = useState<string>(term);
|
||||
|
||||
Reference in New Issue
Block a user