import * as trpcNext from '@trpc/server/adapters/next';
import appRouter from 'trpc/routers';

export default trpcNext.createNextApiHandler({
  router: appRouter,
  // eslint-disable-next-line object-curly-newline
  createContext: () => ({}),
});
