fix: we showed duplicate rooms because every bed represents a room
This commit is contained in:
@@ -45,8 +45,5 @@ export const roomConfigurationSchema = z
|
||||
}
|
||||
}
|
||||
|
||||
// Creating a new objekt since data is frozen (readony)
|
||||
// and can cause errors to be thrown if trying to manipulate
|
||||
// object elsewhere
|
||||
return { ...data }
|
||||
return data
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user