From 59af6a7faf9db8f155e2af83d18755e0d0f363e4 Mon Sep 17 00:00:00 2001 From: Gabriele Granello Date: Thu, 9 Jan 2025 09:09:39 +0100 Subject: [PATCH] graciously handle lint errors --- app/components/ui/Dashboard.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/app/components/ui/Dashboard.tsx b/app/components/ui/Dashboard.tsx index d6019a81..3fe0a7ea 100644 --- a/app/components/ui/Dashboard.tsx +++ b/app/components/ui/Dashboard.tsx @@ -17,11 +17,8 @@ const Dashboard: React.FC = ({ data }) => { } }; - // Dummy identity function to avoid linting errors - const identity = (data: Household) => { - return data; - }; - identity(data); + // eslint-disable-next-line @typescript-eslint/no-unused-vars + const someUnusedVariable = data; return (