Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next.js 14 App router layout.tsx: Fails to spawn the command palette #358

Open
Aymericr opened this issue May 1, 2024 · 0 comments
Open

Comments

@Aymericr
Copy link

Aymericr commented May 1, 2024

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)

CleanShot 2024-05-01 at 11 53 48@2x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant