Skip to content
Snippets Groups Projects
Commit 8a766e71 authored by Eskild Brobak's avatar Eskild Brobak
Browse files

Refactor code

parent 65eeaba5
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,7 @@ const Search: FC = () => {
const changeHandler = (e: FormEvent<HTMLInputElement>) => {
//Saves the search value in search
setSearch(e.currentTarget.value);
//Dynamic search while typing in the title of the film
dispatch(SearchMovie(search))
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment