Prettified Code!

This commit is contained in:
itschip authored and GitHub Action committed 2021-01-31 15:00:22 +00:00
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>