refactor: optimize imports (#1822)
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
* We also create a few inference helpers for input and output types.
|
||||
*/
|
||||
import { createTRPCProxyClient, httpBatchLink, loggerLink } from '@trpc/client';
|
||||
import { WithTRPCConfig, createTRPCNext } from '@trpc/next';
|
||||
import { createTRPCNext } from '@trpc/next';
|
||||
import { type inferRouterInputs, type inferRouterOutputs } from '@trpc/server';
|
||||
import superjson from 'superjson';
|
||||
import { env } from '~/env';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { zodResolver } from '@mantine/form';
|
||||
import { TFunction } from 'i18next';
|
||||
import { useTranslation } from 'next-i18next';
|
||||
import { ErrorMapCtx, ZodIssueCode, ZodSchema, ZodTooBigIssue, ZodTooSmallIssue, z } from 'zod';
|
||||
import { ErrorMapCtx, z, ZodIssueCode, ZodSchema, ZodTooBigIssue, ZodTooSmallIssue } from 'zod';
|
||||
|
||||
export const useI18nZodResolver = () => {
|
||||
const { t } = useTranslation('zod');
|
||||
|
||||
Reference in New Issue
Block a user