diff --git a/src/client/lazy-app/Compress/index.tsx b/src/client/lazy-app/Compress/index.tsx index c133b32c..48446fc9 100644 --- a/src/client/lazy-app/Compress/index.tsx +++ b/src/client/lazy-app/Compress/index.tsx @@ -497,7 +497,17 @@ export default class Compress extends Component { } } - if (!jobNeeded) return; + if (!jobNeeded) { + // Clear any loading that may be happening + this.setState((state) => ({ + loading: false, + sides: state.sides.map((side) => ({ ...side, loading: false })) as [ + Side, + Side, + ], + })); + return; + } const mainSignal = this.mainAbortController.signal; const sideSignals = this.sideAbortControllers.map((ac) => ac.signal);