useState && useExtensionInput throwing invalid hook error

Shopify Partner
8 0 2

I'm creating a post-purchase-ui extension following the tutorial on shopify, and when I add the hook useExtensionInput() to the APP() component to render my ui, this error pops up. It seems like its related to not having "context" but I'm not 100% sure. I also can't even use "useState()" Any ideas?

Replies 0 (0)