diff --git a/components/Form.tsx b/components/Form.tsx index 1ba3c42..0dff7ad 100644 --- a/components/Form.tsx +++ b/components/Form.tsx @@ -62,7 +62,7 @@ function Form(): JSX.Element { }, [inputFile]) // Whether Safari is used or not - let [isSafari, setIsSafari] = useState(false); + let [isSafari, setIsSafari] = useState(true); // Check if Safari is used useEffect(() => { @@ -95,7 +95,7 @@ function Form(): JSX.Element { try { await window.navigator.share(shareData); } catch(error) { - setErrorMessage(error); + console.log(error); } } @@ -295,12 +295,12 @@ function Form(): JSX.Element { } -