Skip to content

Commit

Permalink
fix: add missing type
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Apr 1, 2020
1 parent 61dd828 commit 557c789
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/app-admin/src/plugins/GlobalSearch/SearchBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,9 @@ class SearchBar extends React.Component<SearchBarProps, SearchBarState> {
this.setState({ active: true });
openMenu();
},
onChange: e => {
onChange: (
e: React.ChangeEvent<HTMLInputElement>
) => {
const value = e.target.value || "";
this.setState(state => {
state.searchTerm.current = value;
Expand Down

0 comments on commit 557c789

Please sign in to comment.