Repository navigation
Can't use hooks #241
Answered
by
RodolfoRdz11
RodolfoRdz11
asked this question in
Q&A
|
Hi, I was trying to add actions dynamically but when I wanted to use the hooks useKBar to get the store, I get this error My code: import { useCommandBarActions } from './actions' export function CommandBar() { }` |
Answered by
RodolfoRdz11
Aug 16, 2022
Replies: 1 comment
|
Solved: the hook was outside the context provider... |
0 replies
Answer selected by
RodolfoRdz11
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Solved: the hook was outside the context provider...