From 361e350ddf71e996d73f45264140eec496dedacb Mon Sep 17 00:00:00 2001 From: mrjvs Date: Fri, 25 Feb 2022 22:03:12 +0100 Subject: [PATCH] remove compile warnings --- src/components/Text/Link.tsx | 2 +- src/components/layout/BrandPill.tsx | 3 +-- src/components/layout/Navigation.tsx | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/components/Text/Link.tsx b/src/components/Text/Link.tsx index 612a81e6..443ebe98 100644 --- a/src/components/Text/Link.tsx +++ b/src/components/Text/Link.tsx @@ -31,7 +31,7 @@ export function Link(props: LinkProps) { ); if (isExternal) - return {content}; + return {content}; else if (isInternal) return ( {content} diff --git a/src/components/layout/BrandPill.tsx b/src/components/layout/BrandPill.tsx index 7c4062ec..e71c3f92 100644 --- a/src/components/layout/BrandPill.tsx +++ b/src/components/layout/BrandPill.tsx @@ -1,5 +1,4 @@ import { Icon, Icons } from 'components/Icon' -import { ReactNode } from 'react' export function BrandPill() { @@ -9,4 +8,4 @@ export function BrandPill() { Movie Web ) -} \ No newline at end of file +} diff --git a/src/components/layout/Navigation.tsx b/src/components/layout/Navigation.tsx index 1f8b78f9..af30be98 100644 --- a/src/components/layout/Navigation.tsx +++ b/src/components/layout/Navigation.tsx @@ -10,8 +10,8 @@ export function Navigation() {
- - + +
)