Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
shyakadavis committed Jul 24, 2024
1 parent e341e1a commit 56fbe4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/icons/Icons.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
navigator.clipboard.writeText(name);
}
// e.g. <svelte:component this={ArrowLeft} aria-hidden="true" height="16" width="16" />
// e.g. <ArrowLeft aria-hidden="true" height="16" width="16" />
function copy_svelte_component(name: string) {
const value = `<svelte:component this={${name}} aria-hidden="true" height="16" width="16" />`;
const value = `<${name} aria-hidden="true" height="16" width="16" />`;
navigator.clipboard.writeText(value);
}
Expand Down

0 comments on commit 56fbe4e

Please sign in to comment.