This commit is contained in:
mgabdev
2020-05-01 01:50:27 -04:00
parent c15d4f12dc
commit 8e349c368c
99 changed files with 1268 additions and 887 deletions

View File

@@ -75,10 +75,10 @@ class Search extends PureComponent {
const { value } = this.props
if (e.key === 'Enter') {
e.preventDefault();
e.preventDefault()
this.props.onSubmit();
this.context.router.history.push(`/search?q=${value}`);
this.props.onSubmit()
this.context.router.history.push(`/search?q=${value}`)
} else if (e.key === 'Escape') {
this.textbox.blur()