From 34961926dd60d4c535a6c011e30311b3d36d3306 Mon Sep 17 00:00:00 2001 From: Vojtech Simetka Date: Thu, 1 Dec 2022 21:29:38 +0100 Subject: [PATCH] feat: choose identity from the identity list (#39) --- src/lib/components/avatar.svelte | 4 +++- src/lib/components/button.svelte | 3 +-- src/lib/components/header.svelte | 2 +- src/lib/components/identity.svelte | 4 +++- src/lib/components/wallet-connect.svelte | 2 +- src/lib/temp/index.svelte | 15 ++++++++++++++- src/routes/profile/+page.svelte | 10 ++++++++-- 7 files changed, 31 insertions(+), 9 deletions(-) diff --git a/src/lib/components/avatar.svelte b/src/lib/components/avatar.svelte index af5eb3c..a60bcf9 100644 --- a/src/lib/components/avatar.svelte +++ b/src/lib/components/avatar.svelte @@ -6,7 +6,8 @@ export let src: string = defaultAvatar -Avatar + +Avatar diff --git a/src/lib/components/button.svelte b/src/lib/components/button.svelte index 81306dd..fae5102 100644 --- a/src/lib/components/button.svelte +++ b/src/lib/components/button.svelte @@ -5,11 +5,10 @@ export { cls as class } export let variant: 'secondary' | 'primary' = 'secondary' export let icon: ComponentConstructor | undefined = undefined - export let click: svelte.JSX.MouseEventHandler | null | undefined = undefined export let label: string | undefined = undefined -