1
0
Fork 0
mirror of https://github.com/lukevella/rallly.git synced 2025-05-30 09:16:23 +02:00

♻️ Move trpc client code to app ()

This commit is contained in:
Luke Vella 2023-10-20 15:46:02 +01:00 committed by GitHub
parent 502f2a7a43
commit 5be17fd249
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 133 additions and 124 deletions
apps/web/src/components

View file

@ -1,4 +1,3 @@
import { trpc } from "@rallly/backend";
import { Button } from "@rallly/ui/button";
import {
Card,
@ -17,6 +16,7 @@ import { useUnmount } from "react-use";
import { PollSettingsForm } from "@/components/forms/poll-settings";
import { Trans } from "@/components/trans";
import { usePostHog } from "@/utils/posthog";
import { trpc } from "@/utils/trpc/client";
import { NewEventData, PollDetailsForm, PollOptionsForm } from "./forms";