diff --git a/packages/svelte/src/lib/components/gun/account/AccountProfile.svelte b/packages/svelte/src/lib/components/gun/account/AccountProfile.svelte index af1f3f2..1ee0739 100644 --- a/packages/svelte/src/lib/components/gun/account/AccountProfile.svelte +++ b/packages/svelte/src/lib/components/gun/account/AccountProfile.svelte @@ -2,8 +2,8 @@ import { useAccount } from "$lib/gun/account"; import { onMount } from "svelte"; import { get } from "svelte/store"; - import ProfileDisplay from '../profile/ProfileDisplay.svelte'; import { useUser } from "$lib/gun/user"; + import AccountAvatar from "./AccountAvatar.svelte"; export let pub: string | undefined = ""; let { user } = useUser(); @@ -22,33 +22,47 @@ let { account } = useAccount(pub || user?.pub); $globalAccount = account; }); + + const fields = [ + { key: 'pub', label: 'Public Key' }, + { key: 'color', label: 'Color' }, + { key: 'pulse', label: 'Pulse' }, + { key: 'blink', label: 'Blink' }, + { key: 'lastSeen', label: 'Last Seen' } + ]; -{#if $globalAccount} -
Caricamento account...
+ {/if}Caricamento account...
-{/if} \ No newline at end of file +