mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 22:16:54 +00:00
Tweak(Contacts:Main): Minor changes
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user