functions are not valid as a react child. this may happen if you return a component instead of from render
By Howard Ebert at Jun 15 2021