#stuck at end of bento grid; something with handleClick

10 messages · Page 1 of 1 (latest)

torpid abyss
#

I just finished the Bento Grid section of the tutorial, and I get this error when everything should be working properly. Does anyone know how I can fix this error? I even tried copying his BentoGrid.tsx directly from his github and it still gave the same error.

#

stuck at end of bento grid; something with handleClick

#

The error is located in the magic button component. And yes, I did copy his magic button exactly the same

torpid abyss
#

Any help would be appreciated!

dawn lichen
#

So, did the error occur when you added the MagicButton component to the BentoGrid?

#

what happen if you comment MagicButton component? Did the error disappear?

#

Did you add "use client" somewhere in Grid.tsx or BentoGrid.tsx?

torpid abyss
torpid abyss
#

I fixed the problem. No worries

dawn lichen
#

Nice! How did you solve the problem?