fix: typo
This commit is contained in:
parent
ca7d2081a2
commit
2ec608fdba
|
@ -149,7 +149,7 @@ function adjustTweetHeight(message: any) {
|
||||||
}
|
}
|
||||||
|
|
||||||
const openPlayer = (): void => {
|
const openPlayer = (): void => {
|
||||||
os.popup(defineAsyncComponent(() => import('@/components/MkYoutubePlayer.vue')), {
|
os.popup(defineAsyncComponent(() => import('@/components/MkYouTubePlayer.vue')), {
|
||||||
url: requestUrl.href,
|
url: requestUrl.href,
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
import { Meta, Story } from '@storybook/vue3';
|
import { Meta, Story } from '@storybook/vue3';
|
||||||
import MkYoutubePlayer from './MkYoutubePlayer.vue';
|
import MkYouTubePlayer from './MkYouTubePlayer.vue';
|
||||||
const meta = {
|
const meta = {
|
||||||
title: 'components/MkYoutubePlayer',
|
title: 'components/MkYouTubePlayer',
|
||||||
component: MkYoutubePlayer,
|
component: MkYouTubePlayer,
|
||||||
};
|
};
|
||||||
export const Default = {
|
export const Default = {
|
||||||
render(args, { argTypes }) {
|
render(args, { argTypes }) {
|
||||||
return {
|
return {
|
||||||
components: {
|
components: {
|
||||||
MkYoutubePlayer,
|
MkYouTubePlayer,
|
||||||
},
|
},
|
||||||
props: Object.keys(argTypes),
|
props: Object.keys(argTypes),
|
||||||
template: '<MkYoutubePlayer v-bind="$props" />',
|
template: '<MkYouTubePlayer v-bind="$props" />',
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
parameters: {
|
parameters: {
|
Loading…
Reference in New Issue