rename toot-components to toots

This commit is contained in:
thislight 2024-11-20 16:26:05 +08:00
parent 737d63f88a
commit 6313827b1e
No known key found for this signature in database
GPG key ID: FCFE5192241CCD4E
7 changed files with 4 additions and 4 deletions

View file

@ -33,9 +33,9 @@ import MediaAttachmentGrid from "./MediaAttachmentGrid.js";
import { useDateFnLocale } from "../platform/i18n"; import { useDateFnLocale } from "../platform/i18n";
import { canShare, share } from "../platform/share"; import { canShare, share } from "../platform/share";
import { makeAcctText, useDefaultSession } from "../masto/clients"; import { makeAcctText, useDefaultSession } from "../masto/clients";
import TootContent from "./toot-components/TootContent"; import TootContent from "./toots/TootContent";
import BoostIcon from "./toot-components/BoostIcon"; import BoostIcon from "./toots/BoostIcon";
import PreviewCard from "./toot-components/PreviewCard"; import PreviewCard from "./toots/PreviewCard";
type TootActionGroupProps<T extends mastodon.v1.Status> = { type TootActionGroupProps<T extends mastodon.v1.Status> = {
onRetoot?: (value: T) => void; onRetoot?: (value: T) => void;

View file

@ -8,7 +8,7 @@ import {
Show, Show,
} from "solid-js"; } from "solid-js";
import { resolveCustomEmoji } from "../../masto/toot.js"; import { resolveCustomEmoji } from "../../masto/toot.js";
import { makeAcctText, useDefaultSession } from "../../masto/clients"; import { makeAcctText, useDefaultSession } from "../../masto/clients.js";
import "./TootContent.css"; import "./TootContent.css";
import { Button } from "@suid/material"; import { Button } from "@suid/material";