mirror of
https://github.com/outline/outline.git
synced 2026-11-28 08:14:58 +03:00
fix: Fix linting issues by removing trailing whitespace and unused imports
This commit is contained in:
1 parent
5934328bdd
commit
b5dd079909
1 file changed
+2
-3
@@ -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<Props> = ({
|
||||
}) => {
|
||||
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<File | null>(null);
|
||||
|
||||
|
||||
const avatarEditorRef = useRef<AvatarEditor>(null);
|
||||
|
||||
const onDropAccepted = async (files: File[]) => {
|
||||
|
||||
Reference in new issue
Block a user