Skip to content

Commit

Permalink
refactor: remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
ItaloMedici committed Aug 17, 2024
1 parent 3a20e18 commit 00f10ef
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion components/card/numeric-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ export const NumericCard = ({
selected,
bgColor,
label,
colorOnHover,
}: NumericCardProps) => {
return (
<div className="flex flex-col gap-2 items-center">
Expand Down
1 change: 0 additions & 1 deletion components/room-actions/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export const RoomActions = ({
side,
sideOffset,
id,
name,
roomOwnerEmail,
}: ActionsProps) => {
const { data } = useSession();
Expand Down
1 change: 1 addition & 0 deletions lib/consts.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable no-unused-vars */
export enum SearchParams {
FAVORITES = "favorites",
SEARCH = "search",
Expand Down
1 change: 0 additions & 1 deletion lib/db/index.ts
Original file line number Diff line number Diff line change
@@ -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();
Expand Down

0 comments on commit 00f10ef

Please sign in to comment.