handle remove devices on change setuo
This commit is contained in:
@@ -54,8 +54,6 @@ export default function AddDeviceFeature() {
|
||||
|
||||
return (
|
||||
<form onSubmit={handleSubmit} className="p-4">
|
||||
<h2 className="text-lg font-semibold mb-4">Add Device</h2>
|
||||
|
||||
{!isMerchantValid && (
|
||||
<p className="text-sm text-red-500 mb-4">
|
||||
Lengkapi data merchant (tower, floor, unit) terlebih dahulu
|
||||
@@ -134,7 +132,7 @@ export default function AddDeviceFeature() {
|
||||
disabled:cursor-not-allowed
|
||||
"
|
||||
>
|
||||
Save Device
|
||||
Add Device
|
||||
</button>
|
||||
</form>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user