mirror of
https://github.com/edufeed-org/edufeed-web.git
synced 2025-12-10 00:34:34 +00:00
Put out PK on Key page
This commit is contained in:
parent
f560b89e62
commit
264a3a39f8
2 changed files with 97 additions and 0 deletions
|
|
@ -276,9 +276,11 @@
|
|||
;; Keys Panel
|
||||
(defn keys-panel []
|
||||
(let [npub @(re-frame/subscribe [::subs/npub])
|
||||
pk (nostr/get-pk-from-npub npub)
|
||||
nsec @(re-frame/subscribe [::subs/nsec])] [:div
|
||||
[:h1 "Keys"]
|
||||
[:p (str "Your Npub: " npub)]
|
||||
[:p (str "Your PK: " pk)]
|
||||
[:p (str "Your Nsec: " nsec)]]))
|
||||
|
||||
(defmethod routes/panels :keys-panel [] [keys-panel])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue