mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 06:28:51 +00:00
dont call if no value
This commit is contained in:
1 parent
f1f6a05981
commit
73f057b55b
1 file changed
+1
-1
@@ -50,7 +50,7 @@ export const DialerInput = () => {
|
||||
value={inputVal}
|
||||
onChange={(e) => set(e.target.value)}
|
||||
/>
|
||||
<IconButton color="primary" className={classes.iconBtn}>
|
||||
<IconButton color="primary" className={classes.iconBtn} disabled={inputVal <= ''}>
|
||||
<PhoneIcon fontSize="large" onClick={() => handleCall(inputVal)} />
|
||||
</IconButton>
|
||||
<IconButton className={classes.iconBtn}>
|
||||
|
||||
Reference in new issue
Block a user