From fa6be0f99f63e112758bcae583942e747717b5a3 Mon Sep 17 00:00:00 2001 From: ChaosExAnima Date: Thu, 25 Sep 2025 16:47:17 +0200 Subject: [PATCH] renames component to be clearer --- .../{html_contents => html_block}/html_block.stories.tsx | 2 +- .../{html_contents/html_block.tsx => html_block/index.tsx} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename app/javascript/mastodon/components/{html_contents => html_block}/html_block.stories.tsx (95%) rename app/javascript/mastodon/components/{html_contents/html_block.tsx => html_block/index.tsx} (100%) diff --git a/app/javascript/mastodon/components/html_contents/html_block.stories.tsx b/app/javascript/mastodon/components/html_block/html_block.stories.tsx similarity index 95% rename from app/javascript/mastodon/components/html_contents/html_block.stories.tsx rename to app/javascript/mastodon/components/html_block/html_block.stories.tsx index b39d023d779..8469b23fcb6 100644 --- a/app/javascript/mastodon/components/html_contents/html_block.stories.tsx +++ b/app/javascript/mastodon/components/html_block/html_block.stories.tsx @@ -1,7 +1,7 @@ import type { Meta, StoryObj } from '@storybook/react-vite'; import { expect } from 'storybook/test'; -import { HTMLBlock } from './html_block'; +import { HTMLBlock } from './index'; const meta = { title: 'Components/HTMLBlock', diff --git a/app/javascript/mastodon/components/html_contents/html_block.tsx b/app/javascript/mastodon/components/html_block/index.tsx similarity index 100% rename from app/javascript/mastodon/components/html_contents/html_block.tsx rename to app/javascript/mastodon/components/html_block/index.tsx