Populate feeds with default accounts

This commit is contained in:
Jon Staab
2024-10-11 15:29:54 -07:00
parent e21063f247
commit f5461d551e
6 changed files with 30 additions and 17 deletions
+2 -3
View File
@@ -1,5 +1,6 @@
<script lang="ts">
import {goto} from "$app/navigation"
import {pubkey} from '@welshman/app'
import Field from "@lib/components/Field.svelte"
import Button from "@lib/components/Button.svelte"
import Icon from "@lib/components/Icon.svelte"
@@ -10,9 +11,7 @@
const back = () => history.back()
const onSubmit = async () => {
goto(makeChatPath(pubkeys))
}
const onSubmit = () => goto(makeChatPath([...pubkeys, $pubkey!]))
let pubkeys: string[] = []
</script>