mirror of
https://github.com/formbricks/formbricks.git
synced 2025-12-30 02:10:12 -06:00
build fix
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { useMemo, useState } from "preact/hooks";
|
||||
// @ts-expect-error
|
||||
import { JSXInternal } from "preact/src/jsx";
|
||||
|
||||
import { getOriginalFileNameFromUrl } from "@formbricks/lib/storage/utils";
|
||||
@@ -101,6 +100,7 @@ export const FileInput = ({
|
||||
const handleDragOver = (e: JSXInternal.TargetedDragEvent<HTMLLabelElement>) => {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
// @ts-expect-error
|
||||
e.dataTransfer.dropEffect = "copy";
|
||||
};
|
||||
|
||||
@@ -108,6 +108,7 @@ export const FileInput = ({
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
|
||||
// @ts-expect-error
|
||||
handleFileSelection(e.dataTransfer.files);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user