diff --git a/src/app/ShareButton.tsx b/src/app/ShareButton.tsx index ace8f41..75a75f9 100644 --- a/src/app/ShareButton.tsx +++ b/src/app/ShareButton.tsx @@ -17,7 +17,12 @@ export default function ShareButton() { navigator.share && navigator.canShare({ url: url.href }), ] - }, [window.location, navigator.canShare, navigator.share]) + }, [ + window.location.search, + window.location.href, + navigator.canShare, + navigator.share, + ]) return (