From 92b8750c8373004081df797f6b1de7f3f66b3553 Mon Sep 17 00:00:00 2001
From: ibro
Date: Wed, 31 Jul 2024 15:26:21 +0100
Subject: [PATCH] enable svelte imports
alows use of connect modal from compiled svelte or direclty importing components
---
examples/svelte/src/App.svelte | 17 ++++++++++++-----
packages/ui/src/components/AccountModal.svelte | 17 +++++++++--------
.../components/ConnectModal/ConnectModal.svelte | 7 ++++---
packages/ui/src/components/FractlModal.svelte | 7 ++++---
packages/ui/src/index.ts | 6 +++++-
5 files changed, 34 insertions(+), 20 deletions(-)
diff --git a/examples/svelte/src/App.svelte b/examples/svelte/src/App.svelte
index 8783c16..a8f3d98 100644
--- a/examples/svelte/src/App.svelte
+++ b/examples/svelte/src/App.svelte
@@ -1,8 +1,6 @@
-
-
@@ -38,6 +42,9 @@
+ {#if account}
+
+ {/if}