mirror of
https://github.com/coracle-social/coracle.git
synced 2024-09-18 19:23:40 +00:00
Fix writeTo
This commit is contained in:
parent
ffd7a148db
commit
1fd48f5cd2
@ -1,5 +1,6 @@
|
||||
# Current
|
||||
|
||||
- [ ] Add preview proxy thing
|
||||
- [ ] Open embedded pubkeys and stuff in modals
|
||||
- [ ] Handle embedded naddrs http://localhost:5173/nevent1qqs0sp3dvtvd9t8glg8l4t4lhamvk4092mnqqtcklylwn50l0fxh75qpzemhxue69uhhyetvv9ujumn0wd68ytnzv9hxgcv4y0g
|
||||
- [ ] Add curated relay list, and an easy way to view content on the relays
|
||||
|
@ -30,7 +30,12 @@
|
||||
let image = null
|
||||
let compose = null
|
||||
let showSettings = false
|
||||
let relays = writable(getUserWriteRelays())
|
||||
let relays = writable(
|
||||
(writeTo ? writeTo.map(url => ({url, score: 1})) : getUserWriteRelays()) as Array<{
|
||||
url: string
|
||||
score: number
|
||||
}>
|
||||
)
|
||||
|
||||
const onSubmit = async () => {
|
||||
let {content, mentions, topics} = compose.parse()
|
||||
|
Loading…
Reference in New Issue
Block a user