Replies: 1 comment
-
Thanks for the report, I managed to reproduce it, but the error goes away when using the sync version of the When using the Promise-based API (for Next 15), I get another error from Storybook, even when using
Edit: see #740. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using the storybook plugin: @storybook/nextjs. Within that I have my 'Page' component which takes
searchParams
as a prop which I am passing.Wrapping a story with
NuqsAdapter
fromnuqs/adapters/next
allows me to run.parse
on the cache, however in a sub-component when trying to call.all()
I get the below error:Error: [nuqs] Empty search params cache. Search params can't be accessed in Layouts.
-- Storybook:
-- Page:
-- SearchResults:
Beta Was this translation helpful? Give feedback.
All reactions