import { createContext, useContext, useEffect, useState } from 'react'; import { useConversationState } from '@/stores/ConversationContext'; import { Flex, Typography, Avatar } from 'antd'; import LocalTimeClock from './LocalTimeClock'; const MessagesHeader = () => { const { currentConversation } = useConversationState(); return ( <> {currentConversation.customer_name && } {currentConversation.customer_name} {currentConversation.whatsapp_phone_number} {/* {order?.location} */} {/* {customerDateTime} */} ); }; export default MessagesHeader;