Fix default avatar icon
This commit is contained in:
parent
52c7df8a15
commit
fc3b68c390
1 changed files with 2 additions and 1 deletions
|
|
@ -1,8 +1,9 @@
|
|||
<script lang="ts">
|
||||
import {onMount} from "svelte"
|
||||
import Icon from "@lib/components/Icon.svelte"
|
||||
import UserRounded from "@assets/icons/user-rounded.svg?dataurl"
|
||||
|
||||
const {src = "", size = 7, icon = "user-rounded", style = "", ...restProps} = $props()
|
||||
const {src = "", size = 7, icon = UserRounded, style = "", ...restProps} = $props()
|
||||
|
||||
let element: HTMLElement
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue