handle remove devices on change setuo

This commit is contained in:
2026-01-23 15:57:26 +07:00
parent 0ee119ea8f
commit 739b00e07a
5 changed files with 45 additions and 30 deletions

View File

@@ -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>
);