From 2e4b99d4902a7933d43dd08196a5d761b89b16d4 Mon Sep 17 00:00:00 2001 From: Anmol-Baranwal <74038190+Anmol-Baranwal@users.noreply.github.com> Date: Tue, 8 Aug 2023 12:45:12 +0530 Subject: [PATCH] fix: broken share code removing useState since there was no assigning of value --- components/Share/Share.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/Share/Share.tsx b/components/Share/Share.tsx index fc318bb22..fdc17cb1c 100644 --- a/components/Share/Share.tsx +++ b/components/Share/Share.tsx @@ -8,6 +8,8 @@ type ShareProps = { } export const Share: React.FC = ({ url, title }) => { + const showShareOptions = false + async function handleShare() { if (navigator.share) { try {