TootComposer: minor cleanup
All checks were successful
/ depoly (push) Successful in 1m14s

This commit is contained in:
thislight 2024-11-10 16:51:36 +08:00
parent 23dc34dbbf
commit 2836e857ad
No known key found for this signature in database
GPG key ID: FCFE5192241CCD4E

View file

@ -3,8 +3,6 @@ import {
createMemo, createMemo,
createRenderEffect, createRenderEffect,
createSignal, createSignal,
createUniqueId,
onMount,
Show, Show,
type Accessor, type Accessor,
type Component, type Component,
@ -43,14 +41,12 @@ import {
} from "@suid/icons-material"; } from "@suid/icons-material";
import type { Account } from "../accounts/stores"; import type { Account } from "../accounts/stores";
import "./TootComposer.css"; import "./TootComposer.css";
import { makeEventListener } from "@solid-primitives/event-listener";
import BottomSheet from "../material/BottomSheet"; import BottomSheet from "../material/BottomSheet";
import { useLanguage } from "../platform/i18n"; import { useLanguage } from "../platform/i18n";
import iso639_1 from "iso-639-1"; import iso639_1 from "iso-639-1";
import ChooseTootLang from "./ChooseTootLang"; import ChooseTootLang from "./ChooseTootLang";
import type { mastodon } from "masto"; import type { mastodon } from "masto";
import cardStyles from "../material/cards.module.css"; import cardStyles from "../material/cards.module.css";
import { Title } from "../material/typography";
import Menu, { createManagedMenuState } from "../material/Menu"; import Menu, { createManagedMenuState } from "../material/Menu";
import { useDefaultSession } from "../masto/clients"; import { useDefaultSession } from "../masto/clients";
import { resolveCustomEmoji } from "../masto/toot"; import { resolveCustomEmoji } from "../masto/toot";