From 6313827b1e69f0db2e39efa01e7efbf565fd8c9f Mon Sep 17 00:00:00 2001 From: thislight Date: Wed, 20 Nov 2024 16:26:05 +0800 Subject: [PATCH] rename toot-components to toots --- src/timelines/RegularToot.tsx | 6 +++--- src/timelines/{toot-components => toots}/BoostIcon.css | 0 src/timelines/{toot-components => toots}/BoostIcon.tsx | 0 src/timelines/{toot-components => toots}/PreviewCard.css | 0 src/timelines/{toot-components => toots}/PreviewCard.tsx | 0 src/timelines/{toot-components => toots}/TootContent.css | 0 src/timelines/{toot-components => toots}/TootContent.tsx | 2 +- 7 files changed, 4 insertions(+), 4 deletions(-) rename src/timelines/{toot-components => toots}/BoostIcon.css (100%) rename src/timelines/{toot-components => toots}/BoostIcon.tsx (100%) rename src/timelines/{toot-components => toots}/PreviewCard.css (100%) rename src/timelines/{toot-components => toots}/PreviewCard.tsx (100%) rename src/timelines/{toot-components => toots}/TootContent.css (100%) rename src/timelines/{toot-components => toots}/TootContent.tsx (99%) diff --git a/src/timelines/RegularToot.tsx b/src/timelines/RegularToot.tsx index bb70372..6861258 100644 --- a/src/timelines/RegularToot.tsx +++ b/src/timelines/RegularToot.tsx @@ -33,9 +33,9 @@ import MediaAttachmentGrid from "./MediaAttachmentGrid.js"; import { useDateFnLocale } from "../platform/i18n"; import { canShare, share } from "../platform/share"; import { makeAcctText, useDefaultSession } from "../masto/clients"; -import TootContent from "./toot-components/TootContent"; -import BoostIcon from "./toot-components/BoostIcon"; -import PreviewCard from "./toot-components/PreviewCard"; +import TootContent from "./toots/TootContent"; +import BoostIcon from "./toots/BoostIcon"; +import PreviewCard from "./toots/PreviewCard"; type TootActionGroupProps = { onRetoot?: (value: T) => void; diff --git a/src/timelines/toot-components/BoostIcon.css b/src/timelines/toots/BoostIcon.css similarity index 100% rename from src/timelines/toot-components/BoostIcon.css rename to src/timelines/toots/BoostIcon.css diff --git a/src/timelines/toot-components/BoostIcon.tsx b/src/timelines/toots/BoostIcon.tsx similarity index 100% rename from src/timelines/toot-components/BoostIcon.tsx rename to src/timelines/toots/BoostIcon.tsx diff --git a/src/timelines/toot-components/PreviewCard.css b/src/timelines/toots/PreviewCard.css similarity index 100% rename from src/timelines/toot-components/PreviewCard.css rename to src/timelines/toots/PreviewCard.css diff --git a/src/timelines/toot-components/PreviewCard.tsx b/src/timelines/toots/PreviewCard.tsx similarity index 100% rename from src/timelines/toot-components/PreviewCard.tsx rename to src/timelines/toots/PreviewCard.tsx diff --git a/src/timelines/toot-components/TootContent.css b/src/timelines/toots/TootContent.css similarity index 100% rename from src/timelines/toot-components/TootContent.css rename to src/timelines/toots/TootContent.css diff --git a/src/timelines/toot-components/TootContent.tsx b/src/timelines/toots/TootContent.tsx similarity index 99% rename from src/timelines/toot-components/TootContent.tsx rename to src/timelines/toots/TootContent.tsx index edc3689..f81478b 100644 --- a/src/timelines/toot-components/TootContent.tsx +++ b/src/timelines/toots/TootContent.tsx @@ -8,7 +8,7 @@ import { Show, } from "solid-js"; import { resolveCustomEmoji } from "../../masto/toot.js"; -import { makeAcctText, useDefaultSession } from "../../masto/clients"; +import { makeAcctText, useDefaultSession } from "../../masto/clients.js"; import "./TootContent.css"; import { Button } from "@suid/material";