mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
fix(calls): fix references to async selector DialerHistory
This commit is contained in:
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 }>();
|
||||
|
||||
Reference in new issue
Block a user