Feat(PhoneApp): Rendering phone list

This commit is contained in:
chip committed 2020-08-23 01:29:06 +02:00
1 parent 00856fe87a
commit f8025ab5ff
2 files changed
+6 -1

No files matched your search

+6 -1
View File
@@ -4,8 +4,11 @@ import { AppTitle } from "../../../ui/components/AppTitle";
import { AppContent } from "../../../ui/components/AppContent"; import { AppContent } from "../../../ui/components/AppContent";
import { useTranslation } from "react-i18next"; import { useTranslation } from "react-i18next";
import { useApps } from "../../appmarket/hooks/useApps"; import { useApps } from "../../appmarket/hooks/useApps";
import { PhoneList } from './PhoneList';
import { useCalls } from '../hooks/useCalls';
export const PhoneApp = () => { export const PhoneApp = () => {
const { callList } = useCalls();
const { getApp } = useApps(); const { getApp } = useApps();
const { t } = useTranslation(); const { t } = useTranslation();
return ( return (
@@ -14,7 +17,9 @@ export const PhoneApp = () => {
{t("APPS_PHONE")} {t("APPS_PHONE")}
</AppTitle> </AppTitle>
<AppContent> <AppContent>
<PhoneList
calls={callList}
/>
</AppContent> </AppContent>
</AppWrapper> </AppWrapper>
) )
View File
Whitespace-only changes.