feat(SW-713): remove undefined check

This commit is contained in:
Fredrik Thorsson
2024-10-31 22:09:53 +01:00
parent 5f210caefc
commit a61460f6ea
4 changed files with 14 additions and 17 deletions

View File

@@ -80,7 +80,7 @@ export default function RoomCard({
m²
</Caption>
{selectedRoom && (
<RoomSidePeek selectedRoom={selectedRoom} buttonSize="small" />
<RoomSidePeek room={selectedRoom} buttonSize="small" />
)}
</div>
<div className={styles.container}>