mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
chore(phone): remove useless sendMessage
This commit is contained in:
1 parent
2bd4f4dc96
commit
d279b31b8f
2 files changed
-4
No files matched your search
@@ -10,13 +10,11 @@ interface IUsePhone {
|
||||
openPhone(): void;
|
||||
closePhone(): void;
|
||||
isPhoneOpen: boolean;
|
||||
isPhoneReady: boolean;
|
||||
}
|
||||
|
||||
export const usePhone = (): IUsePhone => {
|
||||
const Nui = useNuiRequest();
|
||||
const isPhoneOpen = useRecoilValue(phoneState.visibility);
|
||||
const isPhoneReady = useRecoilValue(phoneState.phoneReady);
|
||||
const config = useRecoilValue(phoneState.resourceConfig);
|
||||
|
||||
const { removeAlerts } = useNotifications();
|
||||
@@ -34,6 +32,5 @@ export const usePhone = (): IUsePhone => {
|
||||
closePhone,
|
||||
openPhone,
|
||||
isPhoneOpen,
|
||||
isPhoneReady,
|
||||
};
|
||||
};
|
||||
Reference in new issue
Block a user