GitHub-Jobs-API-React-App icon indicating copy to clipboard operation
GitHub-Jobs-API-React-App copied to clipboard

Search input fields throw error while typing into them

Open meghsohor opened this issue 4 years ago • 0 comments

I get this error whenever I try to type something inside fields.

image

And I found a solution:

inside App.js file, if we replace the following line: const [params, setParams] = useState({});

with this: const [params, setParams] = useState({description: '', location: '', full_time: false});

The error is gone

meghsohor avatar Jul 23 '20 13:07 meghsohor