fix(calls): fix references to async selector DialerHistory

This commit is contained in:
Taso committed 2021-07-28 14:26:01 -04:00
1 parent 36d1e993bd
commit 10c5e97088
15 files changed
+61 -67

No files matched your search

@@ -22,7 +22,7 @@ import { useHistory, useLocation, useParams } from 'react-router-dom';
import { useTranslation } from 'react-i18next';
import Modal from '../../../../ui/components/Modal';
import { useContactActions } from '../../../contacts/hooks/useContactActions';
import { useSimcard } from '../../../../os/simcard/hooks/useMyPhoneNumber';
import { useMyPhoneNumber } from '../../../../os/simcard/hooks/useMyPhoneNumber';
import { MessageEvents } from '../../../../../../typings/messages';
const LARGE_HEADER_CHARS = 30;
@@ -51,7 +51,7 @@ export const MessageModal = () => {
const Nui = useNuiRequest();
const classes = useStyles();
const history = useHistory();
const { number: myNumber } = useSimcard();
const myNumber = useMyPhoneNumber();
const { pathname } = useLocation();
const { t } = useTranslation();
const { groupId } = useParams<{ groupId: string }>();