diff --git a/src/FilterLists.Web.V2/src/App.tsx b/src/FilterLists.Web.V2/src/App.tsx
index 73523b53e..c04abd8ce 100644
--- a/src/FilterLists.Web.V2/src/App.tsx
+++ b/src/FilterLists.Web.V2/src/App.tsx
@@ -27,18 +27,18 @@ export const App: React.FC = () =>
;
-const Logo = (): JSX.Element =>
+const Logo = () =>
;
-const NotFound = (props: RouteComponentProps): JSX.Element =>
+const NotFound = (props: RouteComponentProps) =>
{props.location.pathname}
{props.description}:
{props.description}
; \ No newline at end of file diff --git a/src/FilterLists.Web.V2/src/components/LicenseTag.tsx b/src/FilterLists.Web.V2/src/components/LicenseTag.tsx index a69cb9f2e..80a527e07 100644 --- a/src/FilterLists.Web.V2/src/components/LicenseTag.tsx +++ b/src/FilterLists.Web.V2/src/components/LicenseTag.tsx @@ -8,7 +8,7 @@ interface Props { showLabel?: boolean }; -export const LicenseTag = (props: Props): JSX.Element | null => +export const LicenseTag = (props: Props) => props.license && props.license.name ?