Fresh: `toggle` is not a function.
I can't seem to figure out why the function
toggle
is undefined. I'm passing it like other examples on the internet.
button.tsx
index.tsx
I genuinely cannot figure this out. Any help or clue's are appreciated.2 Replies