From d4491464c12f3ddb6a3500325bb63038c26ad021 Mon Sep 17 00:00:00 2001 From: Xevion Date: Fri, 17 Feb 2023 02:38:10 -0600 Subject: [PATCH] Remove unnecessary explicit assertion --- .eslintrc.json | 3 +-- src/pages/index.tsx | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 07fff6b..285956c 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -18,7 +18,6 @@ "extends": ["next/core-web-vitals", "plugin:@typescript-eslint/recommended"], "rules": { "@typescript-eslint/consistent-type-imports": "warn", - "@typescript-eslint/ban-ts-comment": "warn", - "@typescript-eslint/no-unnecessary-type-assertion": "warn" + "@typescript-eslint/ban-ts-comment": "warn" } } diff --git a/src/pages/index.tsx b/src/pages/index.tsx index f3f57db..0b9f180 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -64,7 +64,7 @@ const Home: NextPage = () => { Icons