From 5b7f46a414bc04e2a42a7b2f5d1bb1506216a375 Mon Sep 17 00:00:00 2001 From: Samuel Andert Date: Sat, 22 Jul 2023 16:34:57 +0200 Subject: [PATCH] some basic cleanup --- package.json | 3 --- src/lib/{ => components}/AuthSig.svelte | 10 +++++----- src/lib/{ => components}/Balance.svelte | 0 src/lib/components/HelloEarth.svelte | 1 - src/lib/components/Messages.svelte | 2 +- src/routes/+page.svelte | 20 ++++---------------- 6 files changed, 10 insertions(+), 26 deletions(-) rename src/lib/{ => components}/AuthSig.svelte (76%) rename src/lib/{ => components}/Balance.svelte (100%) delete mode 100644 src/lib/components/HelloEarth.svelte diff --git a/package.json b/package.json index b25ac01..e54ef4f 100644 --- a/package.json +++ b/package.json @@ -45,11 +45,8 @@ "@lit-protocol/pkp-ethers": "^2.2.41", "@lit-protocol/pkp-walletconnect": "^2.2.41", "@lit-protocol/types": "^2.2.41", - "@rollup/plugin-node-resolve": "^15.1.0", "@sveltejs/vite-plugin-svelte": "^2.4.2", "@wagmi/core": "^1.3.8", - "rollup": "^3.26.3", - "rollup-plugin-glob-import": "^0.5.0", "viem": "^1.3.0" } } \ No newline at end of file diff --git a/src/lib/AuthSig.svelte b/src/lib/components/AuthSig.svelte similarity index 76% rename from src/lib/AuthSig.svelte rename to src/lib/components/AuthSig.svelte index a1f3ddd..00cb90c 100644 --- a/src/lib/AuthSig.svelte +++ b/src/lib/components/AuthSig.svelte @@ -28,21 +28,21 @@ {#if authSig} -
-

+

+

AuthSig Address: {authSig.address}

{:else if error} -
-

{error}

+
+

{error}

{:else}
diff --git a/src/lib/components/Messages.svelte b/src/lib/components/Messages.svelte index 9a7019c..65894d4 100644 --- a/src/lib/components/Messages.svelte +++ b/src/lib/components/Messages.svelte @@ -39,7 +39,7 @@
{#if message.composite} -
+
{/if} diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 9c95329..b8acce1 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,13 +1,8 @@