mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
Prettified Code!
This commit is contained in:
1 parent
dd008775f9
commit
8621cab587
2 files changed
+31
-27
No files matched your search
@@ -31,7 +31,7 @@ export const CallModal = () => {
|
||||
};
|
||||
|
||||
const handleEndCall = () => {
|
||||
setModal(false)
|
||||
setModal(false);
|
||||
Nui.send('phone:endCall', {
|
||||
transmitterNumber: call.transmitter,
|
||||
});
|
||||
@@ -41,9 +41,8 @@ export const CallModal = () => {
|
||||
return (
|
||||
<AppWrapper>
|
||||
<AppContent>
|
||||
|
||||
<h1 style={{ textAlign: 'center' }}>{call.receiver}</h1>
|
||||
<CallTimer isAccepted={call.accepted}/>
|
||||
<CallTimer isAccepted={call.accepted} />
|
||||
<div className={classes.actions}>
|
||||
<Fab
|
||||
onClick={handleEndCall}
|
||||
@@ -62,7 +61,7 @@ export const CallModal = () => {
|
||||
<AppWrapper>
|
||||
<AppContent>
|
||||
<h1 style={{ textAlign: 'center' }}>{call.transmitter}</h1>
|
||||
<CallTimer isAccepted={call.accepted}/>
|
||||
<CallTimer isAccepted={call.accepted} />
|
||||
<div className={classes.actions}>
|
||||
{!call.accepted ? (
|
||||
<>
|
||||
|
||||
Reference in new issue
Block a user