Populate feeds with default accounts
This commit is contained in:
@@ -1,15 +1,17 @@
|
||||
<script lang="ts">
|
||||
import cx from "classnames"
|
||||
import {goto} from '$app/navigation'
|
||||
|
||||
export let href
|
||||
export let external = false
|
||||
|
||||
const go = () => goto(href)
|
||||
</script>
|
||||
|
||||
<a
|
||||
{href}
|
||||
{...$$props}
|
||||
on:click|stopPropagation
|
||||
class={cx($$props.class, "cursor-pointer")}
|
||||
class="cursor-pointer {$$props.class}"
|
||||
on:click|preventDefault|stopPropagation={go}
|
||||
rel={external ? "noopener noreferer" : ""}
|
||||
target={external ? "_blank" : ""}>
|
||||
<slot />
|
||||
|
||||
Reference in New Issue
Block a user