From 29d6bbeb98644771fdc69a22eee7790785f6485d Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Thu, 24 Feb 2022 22:13:01 +0200 Subject: [PATCH] Fix lint --- app/components/play/GroupCard.tsx | 2 +- app/routes/play/index.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/components/play/GroupCard.tsx b/app/components/play/GroupCard.tsx index 65d89b62c..f6511dbba 100644 --- a/app/components/play/GroupCard.tsx +++ b/app/components/play/GroupCard.tsx @@ -24,7 +24,7 @@ export function GroupCard({ }) { const fetcher = useFetcher(); - const buttonText = (ranked: boolean = false) => { + const buttonText = (ranked = false) => { switch (action) { case "LEAVE_GROUP": return "Leave group"; diff --git a/app/routes/play/index.tsx b/app/routes/play/index.tsx index fdc82f643..e7bfa3266 100644 --- a/app/routes/play/index.tsx +++ b/app/routes/play/index.tsx @@ -23,7 +23,6 @@ import { import * as LFGGroup from "~/models/LFGGroup.server"; import { Button } from "~/components/Button"; import { useUser } from "~/hooks/common"; -import { LfgGroupType } from "@prisma/client"; import { filterExpiredGroups } from "~/core/play/utils"; export const links: LinksFunction = () => {