mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-19 17:27:26 +02:00
♻️ Clean up trpc code and add global client error handling (#1549)
This commit is contained in:
parent
4e603d737f
commit
5437b91c10
17 changed files with 167 additions and 163 deletions
|
@ -24,12 +24,12 @@ import React from "react";
|
|||
import { useForm } from "react-hook-form";
|
||||
import { z } from "zod";
|
||||
|
||||
import { trpc } from "@/app/providers";
|
||||
import { DateIconInner } from "@/components/date-icon";
|
||||
import { useParticipants } from "@/components/participants-provider";
|
||||
import { ConnectedScoreSummary } from "@/components/poll/score-summary";
|
||||
import { VoteSummaryProgressBar } from "@/components/vote-summary-progress-bar";
|
||||
import { usePoll } from "@/contexts/poll";
|
||||
import { trpc } from "@/trpc/client";
|
||||
import { useDayjs } from "@/utils/dayjs";
|
||||
|
||||
const formSchema = z.object({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue