Skip to content
Snippets Groups Projects
Commit 387d89fc authored by zh393's avatar zh393
Browse files

brestricted input to items from database

parent 03e9af2e
No related branches found
No related tags found
No related merge requests found
......@@ -34,8 +34,10 @@ function SearchBar(props) {
const handleSubmit = (event, value) => {
event.preventDefault()
if (value) {
props.submit(value)
}
}
return (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment