From 58ed4007dfb4db00635dffb24ff8f24e96a21d78 Mon Sep 17 00:00:00 2001 From: Kentai Radiquum Date: Tue, 23 Apr 2024 18:52:41 +0500 Subject: [PATCH] frontend: fix linted errors --- frontend/.eslintrc.json | 2 +- .../NavigationRail/NavigationRail.jsx | 3 +- .../components/ReleaseCard/ReleaseCard.jsx | 7 +++- frontend/app/history/page.js | 4 +-- frontend/app/login/page.js | 4 +-- frontend/app/page.js | 3 ++ frontend/app/search/page.js | 2 ++ frontend/package-lock.json | 33 +++++++++++++++---- frontend/package.json | 2 +- 9 files changed, 46 insertions(+), 14 deletions(-) diff --git a/frontend/.eslintrc.json b/frontend/.eslintrc.json index bffb357..957cd15 100644 --- a/frontend/.eslintrc.json +++ b/frontend/.eslintrc.json @@ -1,3 +1,3 @@ { - "extends": "next/core-web-vitals" + "extends": ["next/core-web-vitals"] } diff --git a/frontend/app/components/NavigationRail/NavigationRail.jsx b/frontend/app/components/NavigationRail/NavigationRail.jsx index e88a330..b0a2bba 100644 --- a/frontend/app/components/NavigationRail/NavigationRail.jsx +++ b/frontend/app/components/NavigationRail/NavigationRail.jsx @@ -2,6 +2,7 @@ import { usePathname } from "next/navigation"; import Link from "next/link"; +import Image from "next/image"; export const NavigationRail = (props) => { const pathname = usePathname(); @@ -37,7 +38,7 @@ export const NavigationRail = (props) => { return (