diff --git a/src/components/ShareSpellbookDialog.tsx b/src/components/ShareSpellbookDialog.tsx
index bce47bb..1a3e350 100644
--- a/src/components/ShareSpellbookDialog.tsx
+++ b/src/components/ShareSpellbookDialog.tsx
@@ -43,7 +43,7 @@ export function ShareSpellbookDialog({
// Get relays from event or fallback to author's outbox relays
let relays = event.tags.filter((t) => t[0] === "r").map((t) => t[1]);
-
+
if (relays.length === 0) {
const authorRelays = await relayListCache.getOutboxRelays(event.pubkey);
if (authorRelays) {
@@ -149,4 +149,4 @@ export function ShareSpellbookDialog({
);
-}
\ No newline at end of file
+}
diff --git a/src/components/SpellbooksViewer.tsx b/src/components/SpellbooksViewer.tsx
index 0bc9bb8..d6f7d3d 100644
--- a/src/components/SpellbooksViewer.tsx
+++ b/src/components/SpellbooksViewer.tsx
@@ -390,13 +390,13 @@ export function SpellbooksViewer() {
content: spellbook.content,
}),
);
-
+
if (event) {
await publishEvent(event);
// Only mark as published AFTER successful relay publish
await markSpellbookPublished(spellbook.id, event as SpellbookEvent);
}
-
+
toast.success("Spellbook published");
} catch (error) {
toast.error(
diff --git a/src/components/layouts/AppShell.tsx b/src/components/layouts/AppShell.tsx
index 7a7a3a4..3129136 100644
--- a/src/components/layouts/AppShell.tsx
+++ b/src/components/layouts/AppShell.tsx
@@ -70,9 +70,11 @@ export function AppShell({ children }: AppShellProps) {
Loading Spellbook...
++ Loading Spellbook... +
Fetching from the relays