Please. Can you help me? React

im doing this project and i keep getting this error: TypeError: Cannot read property ‘url’ of undefined when doing the handleSubmit function for the button, any suggestions?

here is a link for my code:

I see few things here.

First, your randomNum is not a number. It’s an array that contains a number.
Second, watchout the number it can generate. Your array has 100 items. But randomNum usually goes over 100.

Good luck!

Thanks man! Its dificult when i get stuck. I dont really know how to debugg or find the problem in my code.