mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +00:00
Prettified Code!
This commit is contained in:
1 parent
827f98bba1
commit
fe4c46e8ee
2 files changed
+4
-4
No files matched your search
@@ -29,7 +29,7 @@ const ButtonItem = ({ label, onClick }: IBtnItem) => {
|
||||
export const DialGrid = () => {
|
||||
return (
|
||||
<DialInputCtx.Consumer>
|
||||
{({ add, removeOne, clear}) => (
|
||||
{({ add, removeOne, clear }) => (
|
||||
<Box>
|
||||
<Grid container justify='space-around'>
|
||||
<ButtonItem label={1} onClick={() => add(1)} />
|
||||
|
||||
@@ -29,9 +29,9 @@ export const DialerInput = () => {
|
||||
|
||||
const handleCall = (number: string) => {
|
||||
Nui.send('phone:beginCall', {
|
||||
number
|
||||
})
|
||||
}
|
||||
number,
|
||||
});
|
||||
};
|
||||
|
||||
return (
|
||||
<DialInputCtx.Consumer>
|
||||
|
||||
Reference in new issue
Block a user