Unable to show a pane after hiding it #126
Unanswered
AbhinavChede
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I am relatively new to React and I wanted to explore some of the cool features in this project. I am working on a simple example of creating a pane that hides/shows after each time a button is pressed.
Here is the code for this simple scenario that I have:
When I try to press the button, the second pane is hiding but whenever I want to make the pane appear after it is hidden, I encounter the error:
TypeError: Cannot read properties of undefined (reading '0').I am not sure if where I made a mistake and would appreciate any help! Thanks!
Beta Was this translation helpful? Give feedback.
All reactions