Skip to content

Make images smaller using best-in-class codecs, right in the browser.

JavaScript

Missing bind

Jake Archibalda43ea761f54c
diff --git a/src/components/App/index.tsx b/src/components/App/index.tsx
index 6599ae37..ce990fe9 100644
--- a/src/components/App/index.tsx
+++ b/src/components/App/index.tsx
@@ -258,6 +258,7 @@ export default class App extends Component<Props, State> {
});
}
+ @bind
async updateFile(file: File) {
this.setState({ loading: true });
try {