mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +00:00
Feat(PhoneApp): Rendering phone list
This commit is contained in:
1 parent
00856fe87a
commit
f8025ab5ff
2 files changed
+6
-1
No files matched your search
@@ -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>
|
||||||
)
|
)
|
||||||
|
|||||||
Whitespace-only changes.
Reference in new issue
Block a user