add delete device

This commit is contained in:
2026-01-26 11:50:42 +07:00
parent 876c4f9d49
commit 2afe4a2e88
4 changed files with 92 additions and 41 deletions

View File

@@ -41,6 +41,7 @@ export default function AddDeviceFeature() {
const deviceToSave: DeviceData = {
...form,
id: new Date().getTime().toString(),
towerNumber: merchant.tower,
floorName: merchant.floor,
unitNumber: merchant.unit,