From 9707c8da604dce6f22f1081c0c211ff7e91b784d Mon Sep 17 00:00:00 2001 From: Christopher Date: Thu, 7 Jan 2021 21:44:49 +0100 Subject: [PATCH] feat(contacts/nui): fixed warnings --- phone/src/apps/contacts/components/ContactModal.tsx | 1 - phone/src/apps/contacts/components/ContactsApp.tsx | 1 - phone/src/apps/contacts/components/List/ContactList.tsx | 6 ------ 3 files changed, 8 deletions(-) diff --git a/phone/src/apps/contacts/components/ContactModal.tsx b/phone/src/apps/contacts/components/ContactModal.tsx index e5b15ad..0bed87d 100644 --- a/phone/src/apps/contacts/components/ContactModal.tsx +++ b/phone/src/apps/contacts/components/ContactModal.tsx @@ -1,5 +1,4 @@ import React, { useState } from 'react'; -import { makeStyles, Theme } from '@material-ui/core/styles'; import { Button, TextField } from '@material-ui/core'; import Nui from '../../../os/nui-events/utils/Nui'; import List from '@material-ui/core/List'; diff --git a/phone/src/apps/contacts/components/ContactsApp.tsx b/phone/src/apps/contacts/components/ContactsApp.tsx index 5e7350c..c9663f2 100644 --- a/phone/src/apps/contacts/components/ContactsApp.tsx +++ b/phone/src/apps/contacts/components/ContactsApp.tsx @@ -1,6 +1,5 @@ import React from 'react'; import { AppWrapper } from '../../../ui/components'; -import { makeStyles, createStyles, Theme } from '@material-ui/core/styles'; import { AppTitle } from '../../../ui/components/AppTitle'; import { AppContent } from '../../../ui/components/AppContent'; import { ContactList } from './List/ContactList'; diff --git a/phone/src/apps/contacts/components/List/ContactList.tsx b/phone/src/apps/contacts/components/List/ContactList.tsx index 30983a3..3fc0d80 100644 --- a/phone/src/apps/contacts/components/List/ContactList.tsx +++ b/phone/src/apps/contacts/components/List/ContactList.tsx @@ -6,14 +6,9 @@ import { Avatar as MuiAvatar, List, ListItem, - TextField, - Collapse, makeStyles, } from '@material-ui/core'; -import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; -import { faPen } from '@fortawesome/free-solid-svg-icons'; - import { useFilteredContacts } from '../../hooks/useFilteredContacts'; import PhoneIcon from '@material-ui/icons/Phone'; @@ -26,7 +21,6 @@ import { useContactDetail } from '../../hooks/useContactDetail'; import Nui from '../../../../os/nui-events/utils/Nui'; import '../Contact.css'; -import { ContactAlert } from '../alert/ContactAlert'; const useStyles = makeStyles((theme) => ({ updateButton: {