From 539693658677f9643c7dd62d53cd30fdd9e2e434 Mon Sep 17 00:00:00 2001 From: Shiba <44804845+DeepDoge@users.noreply.github.com> Date: Mon, 10 Jan 2022 00:09:15 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8D=A3=20typo=20fixes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/settings.ts | 6 +++--- src/scripts/ytContent.tsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/common/settings.ts b/src/common/settings.ts index c69c832..6ec75f3 100644 --- a/src/common/settings.ts +++ b/src/common/settings.ts @@ -73,8 +73,8 @@ export const getTargetPlatfromSettingsEntiries = () => -export type SourcePlatfromName = 'youtube.com' | 'yewtu.be' -export interface SourcePlatfrom +export type SourcePlatformName = 'youtube.com' | 'yewtu.be' +export interface SourcePlatform { hostnames: string[] htmlQueries: { @@ -83,7 +83,7 @@ export interface SourcePlatfrom } } -export const sourcePlatfromSettings: Record = { +export const sourcePlatfromSettings: Record = { "yewtu.be": { hostnames: ['yewtu.be'], htmlQueries: { diff --git a/src/scripts/ytContent.tsx b/src/scripts/ytContent.tsx index 2fc8ece..c08315a 100644 --- a/src/scripts/ytContent.tsx +++ b/src/scripts/ytContent.tsx @@ -126,7 +126,7 @@ window.addEventListener('load', async () => // Listen URL Change chrome.runtime.onMessage.addListener(onUrlChange) - // We should get this from background, so the caching works and we don't get erros in the future if yt decides to impliment CORS + // We should get this from background, so the caching works and we don't get errors in the future if yt decides to impliment CORS async function requestLbryPathname(videoId: string) { return await new Promise((resolve) => chrome.runtime.sendMessage({ videoId }, resolve))