Skip to content

Commit

Permalink
graciously handle lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriele Granello committed Jan 9, 2025
1 parent a406040 commit 59af6a7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions app/components/ui/Dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,8 @@ const Dashboard: React.FC<DashboardProps> = ({ 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 (
<div className="snap-container">
Expand Down

0 comments on commit 59af6a7

Please sign in to comment.