diff --git a/packages/frontend/src/components/MkUrlPreview.vue b/packages/frontend/src/components/MkUrlPreview.vue index 094709e09..839fa9631 100644 --- a/packages/frontend/src/components/MkUrlPreview.vue +++ b/packages/frontend/src/components/MkUrlPreview.vue @@ -149,7 +149,7 @@ function adjustTweetHeight(message: any) { } const openPlayer = (): void => { - os.popup(defineAsyncComponent(() => import('@/components/MkYoutubePlayer.vue')), { + os.popup(defineAsyncComponent(() => import('@/components/MkYouTubePlayer.vue')), { url: requestUrl.href, }); }; diff --git a/packages/frontend/src/components/MkYoutubePlayer.stories.ts b/packages/frontend/src/components/MkYouTubePlayer.stories.ts similarity index 57% rename from packages/frontend/src/components/MkYoutubePlayer.stories.ts rename to packages/frontend/src/components/MkYouTubePlayer.stories.ts index 671c1303d..5e20a8378 100644 --- a/packages/frontend/src/components/MkYoutubePlayer.stories.ts +++ b/packages/frontend/src/components/MkYouTubePlayer.stories.ts @@ -1,17 +1,17 @@ import { Meta, Story } from '@storybook/vue3'; -import MkYoutubePlayer from './MkYoutubePlayer.vue'; +import MkYouTubePlayer from './MkYouTubePlayer.vue'; const meta = { - title: 'components/MkYoutubePlayer', - component: MkYoutubePlayer, + title: 'components/MkYouTubePlayer', + component: MkYouTubePlayer, }; export const Default = { render(args, { argTypes }) { return { components: { - MkYoutubePlayer, + MkYouTubePlayer, }, props: Object.keys(argTypes), - template: '', + template: '', }; }, parameters: { diff --git a/packages/frontend/src/components/MkYoutubePlayer.vue b/packages/frontend/src/components/MkYouTubePlayer.vue similarity index 100% rename from packages/frontend/src/components/MkYoutubePlayer.vue rename to packages/frontend/src/components/MkYouTubePlayer.vue