mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
Fix: Dialer Routing, added contacts and styling. (#77)
* Fix dialer routing and add contacts to it * Fix styling * Delete unused component
This commit is contained in:
1 parent
84d9b08bff
commit
2bb32c453b
8 files changed
+95
-84
No files matched your search
@@ -9,6 +9,7 @@ import DialPage from './views/DialPage';
|
||||
import DialerNavBar from './DialerNavBar';
|
||||
import { useDialHistory } from '../hooks/useDialHistory';
|
||||
import InjectDebugData from '../../../os/debug/InjectDebugData';
|
||||
import { ContactList } from '../../contacts/components/List/ContactList';
|
||||
|
||||
InjectDebugData([
|
||||
{
|
||||
@@ -41,10 +42,10 @@ export const DialerApp = () => {
|
||||
<Route path='/phone/dial'>
|
||||
<DialPage />
|
||||
</Route>
|
||||
<Route path='/phone'>
|
||||
<Route exact path='/phone'>
|
||||
<DialerHistory calls={history} />
|
||||
</Route>
|
||||
{/*<Route path='/phone/contacts'></Route>*/}
|
||||
<Route path='/phone/contacts' component={ContactList}></Route>
|
||||
</Switch>
|
||||
</AppContent>
|
||||
<DialerNavBar />
|
||||
|
||||
Reference in new issue
Block a user