diff --git a/src/timelines/RegularToot.tsx b/src/timelines/RegularToot.tsx index 07541ad..5cabe04 100644 --- a/src/timelines/RegularToot.tsx +++ b/src/timelines/RegularToot.tsx @@ -29,7 +29,7 @@ import { resolveCustomEmoji } from "../masto/toot.js"; import { Divider } from "@suid/material"; import cardStyle from "../material/cards.module.css"; import Button from "../material/Button.js"; -import MediaAttachmentGrid from "./MediaAttachmentGrid.js"; +import MediaAttachmentGrid from "./toots/MediaAttachmentGrid.jsx"; import { useDateFnLocale } from "../platform/i18n"; import { canShare, share } from "../platform/share"; import { makeAcctText, useDefaultSession } from "../masto/clients"; diff --git a/src/timelines/MediaAttachmentGrid.css b/src/timelines/toots/MediaAttachmentGrid.css similarity index 100% rename from src/timelines/MediaAttachmentGrid.css rename to src/timelines/toots/MediaAttachmentGrid.css diff --git a/src/timelines/MediaAttachmentGrid.tsx b/src/timelines/toots/MediaAttachmentGrid.tsx similarity index 97% rename from src/timelines/MediaAttachmentGrid.tsx rename to src/timelines/toots/MediaAttachmentGrid.tsx index 65097b8..6977ba1 100644 --- a/src/timelines/MediaAttachmentGrid.tsx +++ b/src/timelines/toots/MediaAttachmentGrid.tsx @@ -10,17 +10,17 @@ import { onCleanup, untrack, } from "solid-js"; -import MediaViewer from "./MediaViewer"; +import MediaViewer from "../MediaViewer"; import { render } from "solid-js/web"; import { createElementSize, useWindowSize, } from "@solid-primitives/resize-observer"; import { useStore } from "@nanostores/solid"; -import { $settings } from "../settings/stores"; -import { averageColorHex } from "../platform/blurhash"; +import { $settings } from "../../settings/stores"; +import { averageColorHex } from "../../platform/blurhash"; import "./MediaAttachmentGrid.css"; -import cardStyle from "../material/cards.module.css"; +import cardStyle from "../../material/cards.module.css"; import { Preview } from "@suid/icons-material"; import { IconButton } from "@suid/material";