diff --git a/src/client/lazy-app/Compress/index.tsx b/src/client/lazy-app/Compress/index.tsx index d74223cc..f140f351 100644 --- a/src/client/lazy-app/Compress/index.tsx +++ b/src/client/lazy-app/Compress/index.tsx @@ -31,7 +31,6 @@ import Results from './Results'; import WorkerBridge from '../worker-bridge'; import { resize } from 'features/processors/resize/client'; import type SnackBarElement from 'shared/custom-els/snack-bar'; -import { Arrow, ExpandIcon } from '../icons'; import Transform from './Transform'; export type OutputType = EncoderType | 'identity'; diff --git a/src/shared/prerendered-app/Intro/index.tsx b/src/shared/prerendered-app/Intro/index.tsx index a8d0cf98..00cd75c3 100644 --- a/src/shared/prerendered-app/Intro/index.tsx +++ b/src/shared/prerendered-app/Intro/index.tsx @@ -103,6 +103,16 @@ export default class Intro extends Component { ); }); } + + // TODO: remove this + const demo = demos[3]; + fetch(demo.url) + .then((r) => r.blob()) + .then((blob) => + this.props.onFile!( + new File([blob], demo.filename, { type: blob.type }), + ), + ); } componentWillUnmount() {