Skip to content

Commit

Permalink
format & remove target blank from learn buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
claireolmstead committed Nov 19, 2024
1 parent a8d0eb7 commit 9b17812
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/GetNotified/ContactThankYou.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script lang="ts">
import ThankYouWaves from '$lib/assets/ThankYouWave.svg';
let { onClick = async () => {}, classes = '' } = $props();
let { onClick = async () => {} } = $props();
</script>

<!-- svelte-ignore a11y_click_events_have_key_events -->
Expand Down
1 change: 0 additions & 1 deletion src/components/GetNotified/GetNotified.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import { Input, Textarea } from '@frequency-chain/style-guide';
import { dev } from '$app/environment';
import ContactThankYou from '$components/GetNotified/ContactThankYou.svelte';
import { goto } from '$app/navigation';
const fieldMapping = {
name: 'entry.464666765',
Expand Down
2 changes: 1 addition & 1 deletion src/components/HAccordion.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
{@render children()}
</div>
<div class={`flex flex-row ${contentAlignClasses}`}>
<Button id={`explore_${sectionNumber}_button`} size="xs" type="primary" href={url} target="_blank">
<Button id={`explore_${sectionNumber}_button`} size="xs" type="primary" href={url}>
Learn<img src={Arrow} alt="" class="h-[14px]" />
</Button>
</div>
Expand Down

0 comments on commit 9b17812

Please sign in to comment.