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

{title || localize('com_ui_new_chat')}

); }