From 9eb8b6a08aac213b38ff6c81131b5e222348aa94 Mon Sep 17 00:00:00 2001 From: tomolld Date: Sun, 28 Jul 2024 23:18:44 +0900 Subject: [PATCH] biome --- .../reader.$encodedUrl/components/AddAndVoteTranslations.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app/routes/reader.$encodedUrl/components/AddAndVoteTranslations.tsx b/web/app/routes/reader.$encodedUrl/components/AddAndVoteTranslations.tsx index f5b1999..14eb12b 100644 --- a/web/app/routes/reader.$encodedUrl/components/AddAndVoteTranslations.tsx +++ b/web/app/routes/reader.$encodedUrl/components/AddAndVoteTranslations.tsx @@ -1,4 +1,4 @@ -import { ChevronDown, ChevronUp, ListTree, PlusCircle } from "lucide-react"; +import { ChevronDown, ChevronUp, ListTree } from "lucide-react"; import { useMemo, useState } from "react"; import { Button } from "~/components/ui/button"; import type { TranslationWithVote } from "../types"; @@ -30,7 +30,7 @@ export function AddAndVoteTranslations({ const hasMoreTranslations = alternativeTranslationsWithVotes.length > INITIAL_DISPLAY_COUNT; - const toggleShowAll = () => setShowAll(prev => !prev); + const toggleShowAll = () => setShowAll((prev) => !prev); return (