You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I was wondering if there were any example projects that I could use to work off of. Without the frontend side of the tutorial, I've been having some trouble with it, particularly trying to use the react code provided (with typescript). I keep getting the below error. Note that I don't have to use React, I'm just looking for an example or more documentation I can work off of.
TS2786: 'CartProvider' cannot be used as a JSX component. Its instance type 'CartProvider' is not a valid JSX element. Type 'CartProvider' is missing the following properties from type 'ElementClass': context, setState, forceUpdate, props, and 2 more.
Thanks.
The text was updated successfully, but these errors were encountered:
Hello,
I was wondering if there were any example projects that I could use to work off of. Without the frontend side of the tutorial, I've been having some trouble with it, particularly trying to use the react code provided (with typescript). I keep getting the below error. Note that I don't have to use React, I'm just looking for an example or more documentation I can work off of.
TS2786: 'CartProvider' cannot be used as a JSX component. Its instance type 'CartProvider' is not a valid JSX element. Type 'CartProvider' is missing the following properties from type 'ElementClass': context, setState, forceUpdate, props, and 2 more.
Thanks.
The text was updated successfully, but these errors were encountered: