Skip to content

Commit

Permalink
fix when sharing is offered
Browse files Browse the repository at this point in the history
  • Loading branch information
skedwards88 committed Sep 21, 2023
1 parent 6092ce3 commit 68b1ced
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ControlBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default function ControlBar({

<button id="heartButton" onClick={() => setDisplay("heart")}></button>

{!navigator.canShare ? (
{navigator.canShare ? (
<button
id="shareButton"
onClick={() => {
Expand Down

0 comments on commit 68b1ced

Please sign in to comment.