♻️ Move trpc client code to app (#906)

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

View file

@ -1,10 +1,10 @@
import { trpc } from "@rallly/backend";
import { Badge } from "@rallly/ui/badge";
import React from "react";
import { Trans } from "@/components/trans";
import { useUser } from "@/components/user-provider";
import { isSelfHosted } from "@/utils/constants";
import { trpc } from "@/utils/trpc/client";
export const useSubscription = () => {
const { user } = useUser();