Rename reply to comment

This commit is contained in:
Jon Staab
2024-10-24 13:05:25 -07:00
parent 627407848f
commit c349371cd5
12 changed files with 29 additions and 29 deletions
@@ -12,13 +12,13 @@
import NoteCard from "@app/components/NoteCard.svelte"
import ThreadActions from "@app/components/ThreadActions.svelte"
import ThreadReply from "@app/components/ThreadReply.svelte"
import {REPLY, deriveEvent, decodeRelay} from "@app/state"
import {COMMENT, deriveEvent, decodeRelay} from "@app/state"
import {makeSpacePath} from "@app/routes"
const {relay, id} = $page.params
const url = decodeRelay(relay)
const event = deriveEvent(id)
const filters = [{kinds: [REPLY], "#E": [id]}]
const filters = [{kinds: [COMMENT], "#E": [id]}]
const replies = deriveEvents(repository, {filters})
const back = () => history.back()