atmo.rsvp
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #27 from flo-bit/feat/spaces

share modal fix

authored by

Florian and committed by
GitHub
7bb8bc08 c3c9a8e2

+10 -4
+10 -4
src/lib/components/ShareModal.svelte
··· 42 42 } catch {} 43 43 } 44 44 45 - let blueskyButton: HTMLAnchorElement | undefined = $state(); 45 + let blueskyButton: HTMLAnchorElement | null = $state(null); 46 46 47 47 let blueskyUrl = $derived( 48 48 `https://bsky.app/intent/compose?text=${encodeURIComponent(shareText || url)}` ··· 95 95 {copiedText ? 'Copied!' : 'Copy text'} 96 96 </Button> 97 97 {/if} 98 - <a bind:this={blueskyButton} class="flex-1" href={blueskyUrl} target="_blank"> 99 - <Button class="w-full">Share to Bluesky</Button> 100 - </a> 98 + <Button 99 + bind:ref={blueskyButton} 100 + class="flex-1" 101 + href={blueskyUrl} 102 + target="_blank" 103 + rel="noopener" 104 + > 105 + Share to Bluesky 106 + </Button> 101 107 </div> 102 108 </div> 103 109 </Modal>