From 00f10ef454761f5eabe93ad9da3a0158162934e4 Mon Sep 17 00:00:00 2001
From: ItaloMedici <59889993+ItaloMedici@users.noreply.github.com>
Date: Sat, 17 Aug 2024 11:09:38 -0300
Subject: [PATCH] refactor: remove unused variables

---
 components/card/numeric-card.tsx  | 1 -
 components/room-actions/index.tsx | 1 -
 lib/consts.ts                     | 1 +
 lib/db/index.ts                   | 1 -
 4 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/components/card/numeric-card.tsx b/components/card/numeric-card.tsx
index e252ac2..05924bc 100644
--- a/components/card/numeric-card.tsx
+++ b/components/card/numeric-card.tsx
@@ -45,7 +45,6 @@ export const NumericCard = ({
   selected,
   bgColor,
   label,
-  colorOnHover,
 }: NumericCardProps) => {
   return (
     <div className="flex flex-col gap-2 items-center">
diff --git a/components/room-actions/index.tsx b/components/room-actions/index.tsx
index 8ac7985..b5b4b9a 100644
--- a/components/room-actions/index.tsx
+++ b/components/room-actions/index.tsx
@@ -30,7 +30,6 @@ export const RoomActions = ({
   side,
   sideOffset,
   id,
-  name,
   roomOwnerEmail,
 }: ActionsProps) => {
   const { data } = useSession();
diff --git a/lib/consts.ts b/lib/consts.ts
index 68d96f2..4b8f1c4 100644
--- a/lib/consts.ts
+++ b/lib/consts.ts
@@ -1,3 +1,4 @@
+/* eslint-disable no-unused-vars */
 export enum SearchParams {
   FAVORITES = "favorites",
   SEARCH = "search",
diff --git a/lib/db/index.ts b/lib/db/index.ts
index 3cc2054..38c5315 100644
--- a/lib/db/index.ts
+++ b/lib/db/index.ts
@@ -1,5 +1,4 @@
 import { PrismaClient } from "@prisma/client";
-import { gl } from "date-fns/locale";
 
 const prisma =
   ((globalThis as any).prisma as PrismaClient) ?? new PrismaClient();