fix build
This commit is contained in:
@@ -26,7 +26,7 @@ export function UploadDropzone({ galleryId, onMedia, onRefresh }: UploadDropzone
|
|||||||
const [dragging, setDragging] = useState(false);
|
const [dragging, setDragging] = useState(false);
|
||||||
const controllers = useRef(new Map<string, AbortController>());
|
const controllers = useRef(new Map<string, AbortController>());
|
||||||
const inputRef = useRef<HTMLInputElement>(null);
|
const inputRef = useRef<HTMLInputElement>(null);
|
||||||
const pollTimers = useRef(new Map<string, ReturnType<typeof setTimeout>>());
|
const pollTimers = useRef(new Map<string, number>());
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
return () => {
|
return () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user