import React from 'react'; import { useRecoilValue } from 'recoil'; import { useLocalize, useConversation } from '~/hooks'; import store from '~/store'; export default function MobileNav({ setNavVisible }) { const conversation = useRecoilValue(store.conversation); const { newConversation } = useConversation(); const { title = 'New Chat' } = conversation || {}; const localize = useLocalize(); return (

{title || localize('com_ui_new_chat')}

); }