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 = () => {
|
export const DialGrid = () => {
|
||||||
return (
|
return (
|
||||||
<DialInputCtx.Consumer>
|
<DialInputCtx.Consumer>
|
||||||
{({ add, removeOne, clear}) => (
|
{({ add, removeOne, clear }) => (
|
||||||
<Box>
|
<Box>
|
||||||
<Grid container justify='space-around'>
|
<Grid container justify='space-around'>
|
||||||
<ButtonItem label={1} onClick={() => add(1)} />
|
<ButtonItem label={1} onClick={() => add(1)} />
|
||||||
|
|||||||
@@ -29,9 +29,9 @@ export const DialerInput = () => {
|
|||||||
|
|
||||||
const handleCall = (number: string) => {
|
const handleCall = (number: string) => {
|
||||||
Nui.send('phone:beginCall', {
|
Nui.send('phone:beginCall', {
|
||||||
number
|
number,
|
||||||
})
|
});
|
||||||
}
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<DialInputCtx.Consumer>
|
<DialInputCtx.Consumer>
|
||||||
|
|||||||
Reference in new issue
Block a user