diff --git a/src/client/lazy-app/Compress/index.tsx b/src/client/lazy-app/Compress/index.tsx index 19e30fcb..97903af4 100644 --- a/src/client/lazy-app/Compress/index.tsx +++ b/src/client/lazy-app/Compress/index.tsx @@ -32,7 +32,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 { generateCliInvocation } from '../util/cli'; export type OutputType = EncoderType | 'identity'; @@ -70,7 +69,6 @@ interface State { sides: [Side, Side]; /** Source image load */ loading: boolean; - error?: string; mobileView: boolean; preprocessorState: PreprocessorState; encodedPreprocessorState?: PreprocessorState; @@ -259,11 +257,6 @@ function processorStateEquivalent(a: ProcessorState, b: ProcessorState) { return true; } -// These are only used in the mobile view -const resultTitles = ['Top', 'Bottom'] as const; -// These are only used in the desktop view -const buttonPositions = ['download-left', 'download-right'] as const; - const originalDocumentTitle = document.title; function updateDocumentTitle(filename: string = ''): void {