Next.js 14 App router layout.tsx: Fails to spawn the command palette
Aymericr opened this issue · comments
Fails to spawn the command palette.
I tried wrapping it into a 'use client' component but the issue keeps happening.
Dependencies:
- Next.js 14.2.3
- React 18
Error: Invariant failed: Input ref is undefined, make sure you attach `query.inputRefSetter` to your search input.
Call Stack
invariant
node_modules/tiny-invariant/dist/tiny-invariant.cjs.js (14:1)
Object.getInput
node_modules/kbar/lib/useStore.js (107:1)
handler
node_modules/kbar/lib/InternalEvents.js (277:1)