From 0f6b8ba0dc2437df32c86cab40bfcdd3b012a582 Mon Sep 17 00:00:00 2001 From: chip Date: Fri, 16 Oct 2020 18:30:14 +0200 Subject: [PATCH] Feat(Contacts): Added MuiAvatar for list --- .../apps/contacts/components/ContactList.tsx | 46 ------------------- 1 file changed, 46 deletions(-) delete mode 100644 phone/src/apps/contacts/components/ContactList.tsx diff --git a/phone/src/apps/contacts/components/ContactList.tsx b/phone/src/apps/contacts/components/ContactList.tsx deleted file mode 100644 index 73aa274..0000000 --- a/phone/src/apps/contacts/components/ContactList.tsx +++ /dev/null @@ -1,46 +0,0 @@ -import React from "react"; -import ListItemText from "@material-ui/core/ListItemText"; -import { Button } from "@material-ui/core"; - -import PhoneIcon from "@material-ui/icons/Phone"; -import ChatIcon from "@material-ui/icons/Chat"; -import DeleteIcon from "@material-ui/icons/Delete"; -import { List } from "../../../ui/components/List"; -import { ListItem } from "../../../ui/components/ListItem"; -import { useContacts } from "../hooks/useContacts"; - -import Nui from "../../../os/nui-events/utils/Nui"; - -export const ContactList = () => { - const contacts = useContacts(); - - const startCall = (number) => { - console.log(number); - Nui.send("phone:startCall", { - number, - }); - }; - - return ( - - {contacts.contacts.map((contact) => ( - - - - - - - ))} - - ); -};