Skip to content

Commit

Permalink
lol these aren't async
Browse files Browse the repository at this point in the history
  • Loading branch information
jakearchibald committed Oct 12, 2018
1 parent 37b51e7 commit aab1fb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/App/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ export default class App extends Component<Props, State> {
}

@bind
private async onFileDrop(event: FileDropEvent) {
private onFileDrop(event: FileDropEvent) {
const { file } = event;
if (!file) return;
this.setState({ file });
}

@bind
private async onIntroPickFile(file: File | Fileish) {
private onIntroPickFile(file: File | Fileish) {
this.setState({ file });
}

Expand Down

0 comments on commit aab1fb8

Please sign in to comment.