Make images smaller using best-in-class codecs, right in the browser.
JavaScript
Type fix for gesturestart event
Ingvar Stepanyane46287580705
diff --git a/src/components/App/index.tsx b/src/components/App/index.tsxindex 46b8313c..b32396e3 100644--- a/src/components/App/index.tsx+++ b/src/components/App/index.tsx@@ -75,7 +75,7 @@ export default class App extends Component<Props, State> {// really breaks things on Squoosh, as you can easily end up zooming the UI when you mean to// zoom the image. Once you've done this, it's really difficult to undo. Anyway, this seems to// prevent it.- document.body.addEventListener('gesturestart', (event) => {+ document.body.addEventListener('gesturestart', (event: any) => {event.preventDefault();});