Lint, rename chat compose stuff

This commit is contained in:
Jon Staab
2024-09-11 11:09:25 -07:00
parent 4ad67921a0
commit 339e53e506
26 changed files with 94 additions and 131 deletions
+2 -10
View File
@@ -1,21 +1,15 @@
<script lang="ts">
import {goto} from "$app/navigation"
import {append, remove} from "@welshman/lib"
import {displayRelayUrl} from "@welshman/util"
import {deriveRelay} from "@welshman/app"
import Field from "@lib/components/Field.svelte"
import Spinner from "@lib/components/Spinner.svelte"
import Button from "@lib/components/Button.svelte"
import Icon from "@lib/components/Icon.svelte"
import {pushModal} from "@app/modal"
import {pushToast} from "@app/toast"
import {addRoomMembership} from "@app/commands"
import {makeSpacePath} from '@app/routes'
import {makeSpacePath} from "@app/routes"
export let url
const relay = deriveRelay(url)
const back = () => history.back()
const tryCreate = async () => {
@@ -39,9 +33,7 @@
</script>
<form class="column gap-4" on:submit|preventDefault={create}>
<h1 class="heading">
Create a Room
</h1>
<h1 class="heading">Create a Room</h1>
<p class="text-center">
On <span class="text-primary">{displayRelayUrl(url)}</span>
</p>