Skip to content

Commit

Permalink
Remove test on mount show
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgan Brown committed Oct 21, 2024
1 parent 38d7ed0 commit 4c957c1
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/lib/components/share-button/share-button.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import modal from '$lib/stores/modal';
import shareSteps from '$lib/flows/share/share-steps';
import Stepper from '$lib/components/stepper/stepper.svelte';
import { onMount } from 'svelte';
export let text: string | undefined = undefined;
export let url: string;
Expand Down Expand Up @@ -38,19 +37,6 @@
}),
);
}
// TODO: remove
onMount(() => {
modal.show(
Stepper,
undefined,
shareSteps({
text,
url,
downloadableImageUrl,
}),
);
});
</script>

<Button variant={buttonVariant} on:click={handleClick}>
Expand Down

0 comments on commit 4c957c1

Please sign in to comment.