reduce roomState component scope
This commit is contained in:
parent
8248479cce
commit
f3aad4a58d
|
@ -19,11 +19,8 @@ export default () => {
|
|||
}, [])
|
||||
|
||||
return (
|
||||
<h2>
|
||||
Raumstatus:{" "}
|
||||
<span style={{ color: roomStateData[openState].color }}>
|
||||
{roomStateData[openState].text}
|
||||
</span>
|
||||
</h2>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
path: "/treff"
|
||||
title: "Zeiten & Location"
|
||||
---
|
||||
import RoomState from "../components/roomState"
|
||||
import RoomState from "../components/roomState.js"
|
||||
|
||||
<RoomState/>
|
||||
## Raumstatus: <RoomState/>
|
||||
|
||||
## Treff
|
||||
|
||||
|
|
Loading…
Reference in New Issue