Failed to compile
if I remove
const make = api.post.makeCard;
it work, but I need it. I'm new to trpc.

12 Replies
You need the
.useQuery
or .useMutation
Like this lol

I'm not getting the options


@ed
I haven't made a new repo with T3 in a long time, so I could be wrong, but your import of the
api
doesn't look correct to me
Usually it's in the utils folder, so I'm just wondering if you're importing a different thing?
there is no utils
@deforestor
thx i got it
What was it after all
Sorry for the late response had my finals it was an import error
@ed
gotcha