Remove unnecessary explicit assertion

This commit is contained in:
Xevion
2023-02-17 02:38:10 -06:00
parent 204ee50ece
commit d4491464c1
2 changed files with 2 additions and 3 deletions

View File

@@ -18,7 +18,6 @@
"extends": ["next/core-web-vitals", "plugin:@typescript-eslint/recommended"], "extends": ["next/core-web-vitals", "plugin:@typescript-eslint/recommended"],
"rules": { "rules": {
"@typescript-eslint/consistent-type-imports": "warn", "@typescript-eslint/consistent-type-imports": "warn",
"@typescript-eslint/ban-ts-comment": "warn", "@typescript-eslint/ban-ts-comment": "warn"
"@typescript-eslint/no-unnecessary-type-assertion": "warn"
} }
} }

View File

@@ -64,7 +64,7 @@ const Home: NextPage = () => {
<title>Icons</title> <title>Icons</title>
<link rel="icon" href="/favicon.ico"/> <link rel="icon" href="/favicon.ico"/>
<OGP <OGP
url={env.NEXT_PUBLIC_APP_URL as string} url={env.NEXT_PUBLIC_APP_URL}
title="Icons" title="Icons"
description="A custom search engine for all of the icons in the React-Icons library." description="A custom search engine for all of the icons in the React-Icons library."
siteName="icons.xevion.dev" siteName="icons.xevion.dev"