summaryrefslogtreecommitdiff
path: root/gui/src/state
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2025-11-18 08:32:45 +0700
committerpolwex <polwex@sortug.com>2025-11-18 08:32:45 +0700
commit7706acaafa89691dba33c216e6287a8405c4c302 (patch)
tree504d49fd289c6f4f6f5494395ddd4089a057efc9 /gui/src/state
parentb3379cc108d6eed98cb0010e6f1ddca94aba83a2 (diff)
gui fixes to nostr post rendering, added nostr-tools lib for primal compatibility
Diffstat (limited to 'gui/src/state')
-rw-r--r--gui/src/state/state.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/src/state/state.ts b/gui/src/state/state.ts
index 9bd5e0e..7d433f4 100644
--- a/gui/src/state/state.ts
+++ b/gui/src/state/state.ts
@@ -90,6 +90,9 @@ export const useStore = creator((set, get) => ({
set({ following });
}
}
+ if ("nostr" in data.fact) {
+ set({ nostrFeed: data.fact.nostr });
+ }
}
});
set({ api });