Reactjs Getting Error While Showing Hiding React Table

Reactjs Getting Error While Showing Hiding React Table