mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-06 09:59:00 +02:00
♻️ Use cn util (#1589)
This commit is contained in:
parent
05c6cd7735
commit
b8a7e9746b
9 changed files with 23 additions and 24 deletions
|
@ -1,12 +1,12 @@
|
|||
import { zodResolver } from "@hookform/resolvers/zod";
|
||||
import type { VoteType } from "@rallly/database";
|
||||
import { cn } from "@rallly/ui";
|
||||
import { Badge } from "@rallly/ui/badge";
|
||||
import { Button } from "@rallly/ui/button";
|
||||
import { FormMessage } from "@rallly/ui/form";
|
||||
import { Input } from "@rallly/ui/input";
|
||||
import * as Sentry from "@sentry/nextjs";
|
||||
import { TRPCClientError } from "@trpc/client";
|
||||
import clsx from "clsx";
|
||||
import { useTranslation } from "next-i18next";
|
||||
import { useForm } from "react-hook-form";
|
||||
import z from "zod";
|
||||
|
@ -59,7 +59,7 @@ const VoteSummary = ({
|
|||
|
||||
return (
|
||||
<div
|
||||
className={clsx("flex flex-wrap gap-1.5 rounded border p-1.5", className)}
|
||||
className={cn("flex flex-wrap gap-1.5 rounded border p-1.5", className)}
|
||||
>
|
||||
{voteTypes.map((voteType) => {
|
||||
const votes = voteByType[voteType];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue