Commit 9a7009ba authored by Dherik Jenitan Devakumar's avatar Dherik Jenitan Devakumar
Browse files

(#15) Fixed empty search to show all movies

parent d17c118c
......@@ -21,7 +21,7 @@ const SearchComp: FunctionComponent = () => {
})
const searchEvent = () => {
if (localSearch !== "") setSearch(localSearch);
setSearch(localSearch);
}
const onChangeSearch = (query:string) => setLocalSearch(query);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment