mirror of
https://github.com/coracle-social/coracle.git
synced 2024-09-19 11:43:35 +00:00
Fix nprofile generation
This commit is contained in:
parent
4e341b43b3
commit
fe990f7d26
@ -3,7 +3,7 @@
|
||||
- [ ] https://github.com/staab/coracle/issues/42
|
||||
- [ ] Show loading/success on zap invoice screen
|
||||
- [ ] Fix iOS/safari/firefox
|
||||
- [ ] Env vars to white label
|
||||
- [ ] Add AUTH
|
||||
|
||||
# Others
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
"button-circle":
|
||||
"w-10 h-10 flex justify-center items-center rounded-full bg-input text-accent whitespace-nowrap border border-solid border-gray-5",
|
||||
"button-accent":
|
||||
"py-2 px-4 rounded bg-accent text-white whitespace-nowrap border border-solid border-gray-5",
|
||||
"py-2 px-4 rounded bg-accent text-white whitespace-nowrap border border-solid border-accent-light hover:bg-accent-light",
|
||||
})
|
||||
)
|
||||
</script>
|
||||
|
@ -5,8 +5,8 @@
|
||||
import {renderContent, noEvent} from "src/util/html"
|
||||
import {displayPerson} from "src/util/nostr"
|
||||
import Anchor from "src/partials/Anchor.svelte"
|
||||
import PersonCircle from "src/partials/PersonCircle.svelte"
|
||||
import {routes} from "src/app/ui"
|
||||
import PersonCircle from "./PersonCircle.svelte"
|
||||
|
||||
export let person
|
||||
export let addPetname = null
|
||||
|
@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import {prop} from "ramda"
|
||||
import {pluck} from "ramda"
|
||||
import {nip19} from "nostr-tools"
|
||||
import Content from "src/partials/Content.svelte"
|
||||
import QRCode from "src/partials/QRCode.svelte"
|
||||
@ -8,7 +8,7 @@
|
||||
export let person
|
||||
|
||||
const {pubkey} = person
|
||||
const relays = [prop("url", getPubkeyWriteRelays(pubkey))]
|
||||
const relays = [pluck("url", getPubkeyWriteRelays(pubkey))]
|
||||
const nprofile = nip19.nprofileEncode({pubkey, relays})
|
||||
</script>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user