I\'m using a MaterialTable for user to input data and then check if the Rods numbers are valid (1, 2, 3...) in App.tsx. If they are valid, I draw the rods, otherwise I want