diff --git a/phone/src/apps/dialer/components/DialPadGrid.tsx b/phone/src/apps/dialer/components/DialPadGrid.tsx index 02b3ccb..d0482b0 100644 --- a/phone/src/apps/dialer/components/DialPadGrid.tsx +++ b/phone/src/apps/dialer/components/DialPadGrid.tsx @@ -29,24 +29,24 @@ const ButtonItem = ({ label, onClick }: IBtnItem) => { export const DialGrid = () => { return ( - {({ add, removeOne, clear}) => ( - - - add(1)} /> - add(2)} /> - add(3)} /> - add(4)} /> - add(5)} /> - add(6)} /> - add(7)} /> - add(8)} /> - add(9)} /> - - add(0)} /> - - add('-')} /> - - + {({ add, removeOne, clear }) => ( + + + add(1)} /> + add(2)} /> + add(3)} /> + add(4)} /> + add(5)} /> + add(6)} /> + add(7)} /> + add(8)} /> + add(9)} /> + + add(0)} /> + + add('-')} /> + + )} ); diff --git a/phone/src/apps/dialer/components/DialerInput.tsx b/phone/src/apps/dialer/components/DialerInput.tsx index ae3c8d1..4b45268 100644 --- a/phone/src/apps/dialer/components/DialerInput.tsx +++ b/phone/src/apps/dialer/components/DialerInput.tsx @@ -29,23 +29,23 @@ export const DialerInput = () => { const handleCall = (number: string) => { Nui.send('phone:beginCall', { - number - }) - } + number, + }); + }; return ( {({ inputVal, add }) => ( - - - handleCall(inputVal)} /> - - + + + handleCall(inputVal)} /> + + )} );