Run format
This commit is contained in:
@@ -5,9 +5,7 @@ import {TbCheck, TbCopy} from "react-icons/tb";
|
|||||||
import { useClipboard } from "@mantine/hooks";
|
import { useClipboard } from "@mantine/hooks";
|
||||||
import { text } from "stream/consumers";
|
import { text } from "stream/consumers";
|
||||||
|
|
||||||
function CopyTextField(props: { link: string })
|
function CopyTextField(props: { link: string }) {
|
||||||
{
|
|
||||||
|
|
||||||
const clipboard = useClipboard({ timeout: 500 });
|
const clipboard = useClipboard({ timeout: 500 });
|
||||||
const [checkState, setCheckState] = useState(false);
|
const [checkState, setCheckState] = useState(false);
|
||||||
const [textClicked, setTextClicked] = useState(false);
|
const [textClicked, setTextClicked] = useState(false);
|
||||||
@@ -25,7 +23,6 @@ function CopyTextField(props: { link: string })
|
|||||||
setCheckState(true);
|
setCheckState(true);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<TextInput
|
<TextInput
|
||||||
readOnly
|
readOnly
|
||||||
@@ -46,7 +43,7 @@ function CopyTextField(props: { link: string })
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
)
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export default CopyTextField;
|
export default CopyTextField;
|
||||||
@@ -21,7 +21,6 @@ const showCompletedUploadModal = (
|
|||||||
};
|
};
|
||||||
|
|
||||||
const Body = ({ share, appUrl }: { share: Share; appUrl: string }) => {
|
const Body = ({ share, appUrl }: { share: Share; appUrl: string }) => {
|
||||||
|
|
||||||
const modals = useModals();
|
const modals = useModals();
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user