I have just added useCommandState to my cmdk component and before anything is even typed this error is shown. I am using the latest version of next.js (v12.3.1), React (v18.2.0) and cmdk (v0.1.20). Do you have any idea why this might be occurring? Is there anything else that I need to add in order for this to work?
I have just added
useCommandState
to my cmdk component and before anything is even typed this error is shown. I am using the latest version of next.js (v12.3.1), React (v18.2.0) and cmdk (v0.1.20). Do you have any idea why this might be occurring? Is there anything else that I need to add in order for this to work?Usage
Error