From 7032892686e50e4453fdd49305e40d84b3279095 Mon Sep 17 00:00:00 2001 From: Juan Di Toro Date: Wed, 13 Mar 2024 18:07:03 +0100 Subject: [PATCH] chore: cleanup to imports --- app/components/lib/uppy.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/components/lib/uppy.ts b/app/components/lib/uppy.ts index 147fe04..6b725f8 100644 --- a/app/components/lib/uppy.ts +++ b/app/components/lib/uppy.ts @@ -1,17 +1,17 @@ -import Uppy, { State, debugLogger } from "@uppy/core" +import Uppy, { type State, debugLogger } from "@uppy/core" import Tus from "@uppy/tus" import toArray from "@uppy/utils/lib/toArray" import { - ChangeEvent, + type ChangeEvent, useCallback, useEffect, useMemo, useRef, useState } from "react" -import DropTarget, { DropTargetOptions } from "./uppy-dropzone" +import DropTarget, { type DropTargetOptions } from "./uppy-dropzone" const LISTENING_EVENTS = [ "upload", @@ -36,7 +36,7 @@ export function useUppy({ (element: HTMLElement | null) => _setTargetRef(element), [] ) - const [uppyState, setUppyState] = useState() + const [, setUppyState] = useState() const [state, setState] = useState< "completed" | "idle" | "initializing" | "error" | "uploading" >("initializing")