diff --git a/phone/src/modal/components/CallModal.tsx b/phone/src/modal/components/CallModal.tsx index cbffbbc..009c944 100644 --- a/phone/src/modal/components/CallModal.tsx +++ b/phone/src/modal/components/CallModal.tsx @@ -12,50 +12,53 @@ import Nui from '../../os/nui-events/utils/Nui'; export const CallModal = () => { const { call } = useCall(); - const { setModal } = useModal() + const { setModal } = useModal(); - const classes = useStyles() + const classes = useStyles(); const handleAcceptCall = () => { Nui.send('phone:acceptCall', { - phoneNumber: call.phone_number - }) - } + phoneNumber: call.phone_number, + }); + }; const handleRejectCall = () => { - setModal(false) - } + setModal(false); + }; const handleEndCall = () => { - setModal(false) - } + setModal(false); + }; return ( -

{call.transmitter ? call.target : call.caller}

+

+ {call.transmitter ? call.target : call.caller} +

{!call.accepted ? ( <> - + - ) : ( -