From 9f41ea88c7b09d8712fb1a1b884af28d4efd30a7 Mon Sep 17 00:00:00 2001 From: Houssein Djirdeh Date: Fri, 21 Jul 2023 14:56:47 -0400 Subject: [PATCH] fix youtube embed naming --- src/index.ts | 2 +- src/third-parties/youtube-embed/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index cbca310..f1bf24c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -14,4 +14,4 @@ export { GoogleAnalytics } from './third-parties/google-analytics'; export { GoogleMapsEmbed } from './third-parties/google-maps-embed'; -export { YoutubeEmbed } from './third-parties/youtube-embed'; +export { YouTubeEmbed } from './third-parties/youtube-embed'; diff --git a/src/third-parties/youtube-embed/index.ts b/src/third-parties/youtube-embed/index.ts index c9e7684..52caa18 100644 --- a/src/third-parties/youtube-embed/index.ts +++ b/src/third-parties/youtube-embed/index.ts @@ -16,6 +16,6 @@ import data from './data.json'; import { formatData } from '../../utils'; import type { Data, Inputs } from '../../types'; -export const YoutubeEmbed = ({ ...args }: Inputs) => { +export const YouTubeEmbed = ({ ...args }: Inputs) => { return formatData(data as Data, args); };