Missing bind

This commit is contained in:
Jake Archibald
2018-10-12 14:04:18 +01:00
parent 577c77cc30
commit a43ea761f5

View File

@@ -258,6 +258,7 @@ export default class App extends Component<Props, State> {
}); });
} }
@bind
async updateFile(file: File) { async updateFile(file: File) {
this.setState({ loading: true }); this.setState({ loading: true });
try { try {