Skip to content

Commit

Permalink
biome
Browse files Browse the repository at this point in the history
  • Loading branch information
ttizze committed Jul 28, 2024
1 parent 16b8d44 commit 9eb8b6a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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";
Expand Down Expand Up @@ -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 (
<div className="p-4 ">
Expand Down

0 comments on commit 9eb8b6a

Please sign in to comment.