Skip to content

Commit

Permalink
fix: broken share code
Browse files Browse the repository at this point in the history
removing useState since there was no assigning of value
  • Loading branch information
Anmol-Baranwal committed Aug 8, 2023
1 parent 2d3872b commit 2e4b99d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/Share/Share.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ type ShareProps = {
}

export const Share: React.FC<ShareProps> = ({ url, title }) => {
const showShareOptions = false

async function handleShare() {
if (navigator.share) {
try {
Expand Down

0 comments on commit 2e4b99d

Please sign in to comment.