Can't use hooks #241
-
|
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() { }` |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Solved: the hook was outside the context provider... |
Beta Was this translation helpful? Give feedback.

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