w7tf / legendstate-example

0 stars 0 forks source link

fix: type of input is 'object' in the create function #1

Open w7tf opened 4 hours ago

w7tf commented 4 hours ago

In mobile/app/lib/store.ts

create: async (input) => await api.posts.create.mutate(input),

and

create: async (input) => await api.comments.create.mutate(input),

Input is of type object. Type is not inferred from initial.

jmeistrich commented 30 minutes ago

Should be fixed in beta.12