From b5dd079909831ccbaebfae3a58ccde951b75817f Mon Sep 17 00:00:00 2001 From: "codegen-sh[bot]" <131295404+codegen-sh[bot]@users.noreply.github.com> Date: Sat, 12 Apr 2025 18:02:14 +0000 Subject: [PATCH] fix: Fix linting issues by removing trailing whitespace and unused imports --- app/scenes/Settings/components/ImageUpload.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/scenes/Settings/components/ImageUpload.tsx b/app/scenes/Settings/components/ImageUpload.tsx index 9a30e2ff52..33f3481a9a 100644 --- a/app/scenes/Settings/components/ImageUpload.tsx +++ b/app/scenes/Settings/components/ImageUpload.tsx @@ -8,7 +8,6 @@ import styled from "styled-components"; import { s } from "@shared/styles"; import { AttachmentPreset } from "@shared/types"; import { AttachmentValidation } from "@shared/validations"; -import RootStore from "~/stores/RootStore"; import ButtonLarge from "~/components/ButtonLarge"; import Flex from "~/components/Flex"; import LoadingIndicator from "~/components/LoadingIndicator"; @@ -33,12 +32,12 @@ const ImageUpload: React.FC = ({ }) => { const stores = useStores(); const { ui } = stores; - + const [isUploading, setIsUploading] = useState(false); const [isCropping, setIsCropping] = useState(false); const [zoom, setZoom] = useState(1); const [file, setFile] = useState(null); - + const avatarEditorRef = useRef(null); const onDropAccepted = async (files: File[]) => {