From ab786760a16c07031fa9b7e8987ebe755a57912c Mon Sep 17 00:00:00 2001 From: polwex Date: Wed, 12 Nov 2025 10:32:46 +0700 Subject: further fixes to engagement flow --- gui/src/components/composer/Composer.tsx | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'gui/src/components/composer/Composer.tsx') diff --git a/gui/src/components/composer/Composer.tsx b/gui/src/components/composer/Composer.tsx index 81d0358..8b7e343 100644 --- a/gui/src/components/composer/Composer.tsx +++ b/gui/src/components/composer/Composer.tsx @@ -1,5 +1,4 @@ import useLocalState from "@/state/state"; -import type { Poast } from "@/types/trill"; import Sigil from "@/components/Sigil"; import { useState, useEffect, useRef, type FormEvent } from "react"; import Snippets, { ReplySnippet } from "./Snippets"; @@ -42,19 +41,6 @@ function Composer({ isAnon }: { isAnon?: boolean }) { async function poast(e: FormEvent) { e.preventDefault(); // TODO - // const parent = replying ? replying : null; - // const tokens = tokenize(input); - // const post: SentPoast = { - // host: parent ? parent.host : our, - // author: our, - // thread: parent ? parent.thread : null, - // parent: parent ? parent.id : null, - // contents: input, - // read: openLock, - // write: openLock, - // tags: input.match(HASHTAGS_REGEX) || [], - // }; - // TODO make it user choosable setLoading(true); const res = -- cgit v1.2.3