import { api } from '~/utils/api';
So before I was able to import
import { api } from '~/utils/api';
and do something like api.something.method.useMutation....
. I now started a new project with T3 stack after a long time of not touching tRPC / Next.js and I am using app router
and I can no longer use utils/api
. What am I missing ? Thanks!2 Replies