export const PrivatChatHeader = ({userName}) => { //add dispatch and saving name for user to store return ( <> <span> You and {userName} </span> </> ) }