diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 936e0a9..b69b65a 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -6,6 +6,7 @@ import { useAuth } from './contexts/AuthContext' import ConversationList from './components/ConversationList' import MessageThread from './components/MessageThread' import Activity from './components/Activity' +import Calls from './components/Calls' import DateFilter from './components/DateFilter' import Upload from './components/Upload' import Search from './components/Search' @@ -38,6 +39,8 @@ function App() { // Derive activeView from URL const activeView = location.pathname.startsWith('/activity') ? 'activity' + : location.pathname.startsWith('/calls') + ? 'calls' : location.pathname.startsWith('/search') ? 'search' : 'conversations' @@ -112,6 +115,8 @@ function App() { const handleViewChange = (view) => { if (view === 'activity') { navigate('/activity') + } else if (view === 'calls') { + navigate('/calls') } else if (view === 'search') { navigate('/search') } else { @@ -207,6 +212,17 @@ function App() { Conversations +
  • + +