From 44d668d7afd15362cc1b7c5036308ea38f804388 Mon Sep 17 00:00:00 2001 From: Samuel Andert Date: Tue, 25 Jul 2023 09:34:31 +0200 Subject: [PATCH] Refactoring Provider setup of Google Auth --- src/lib/components/Composite.svelte | 2 -- src/lib/components/GoogleAuth.svelte | 30 ++++--------------------- src/lib/components/Wallet/Wallet.svelte | 3 +-- src/lib/services/litProviderSetup.ts | 30 +++++++++++++++++++++++++ src/lib/services/provider/provider.ts | 2 +- src/lib/services/providerUtils.ts | 5 ----- src/routes/+page.svelte | 14 ++++++++---- 7 files changed, 46 insertions(+), 40 deletions(-) create mode 100644 src/lib/services/litProviderSetup.ts delete mode 100644 src/lib/services/providerUtils.ts diff --git a/src/lib/components/Composite.svelte b/src/lib/components/Composite.svelte index b2a6f03..773bde4 100644 --- a/src/lib/components/Composite.svelte +++ b/src/lib/components/Composite.svelte @@ -67,8 +67,6 @@ } - -
{#each componentsData.children as component (component.id)} {#await getComponent(component.componentName) then Component} diff --git a/src/lib/components/GoogleAuth.svelte b/src/lib/components/GoogleAuth.svelte index e695583..a34459e 100644 --- a/src/lib/components/GoogleAuth.svelte +++ b/src/lib/components/GoogleAuth.svelte @@ -1,23 +1,15 @@