Can i have suggesting of this problem

Need to see your message component.

Hey its Harvel, it’s more probable that your component is lacking a return value.
Void means that a function does not return anything yet instead a react component should return sth

end of the Message components you have to put => ‘export default Message;’