Components are accessable via console on production?

I recently deployed a website for a friend of mine, written in react, express, mongodb, etc…
And I can see that I have a console.log on one of the components and wanted to ask if that’s normal that a component is accessable via a console.log? (I can access the source code because of that).

And is there a solution for that or just removing ALL console.log before production?

Thank you very much, God bless.