Tweak(Contacts:Main): Minor changes

This commit is contained in:
chip committed 2020-10-18 21:50:24 +02:00
1 parent c928d6a79e
commit bd9f48ee50
1 file changed
+2 -1
@@ -9,8 +9,8 @@ import { AddContactModal } from "./ContactModal";
import { useModal } from '../hooks/useModal';
import { SearchContacts } from "./List/SearchContacts";
import PersonAddIcon from '@material-ui/icons/PersonAdd'
import Fab from '@material-ui/core/Fab';
import { useContactModal } from '../hooks/useContactModal';
const useStyles = makeStyles((theme: Theme) =>
@@ -38,6 +38,7 @@ export const ContactsApp = () => {
const classes = useStyles();
const { showModal, setShowModal } = useModal();
const contacts = useApp("CONTACTS");
const { showContactModal } = useContactModal();
const openModal = () => {
setShowModal(true);