From f3aad4a58d45f16a83d3b09942b0dc698d9d9f74 Mon Sep 17 00:00:00 2001 From: neri Date: Fri, 13 Dec 2019 13:41:09 +0100 Subject: [PATCH] reduce roomState component scope --- src/components/roomState.js | 9 +++------ src/markdown-pages/treff.mdx | 4 ++-- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/components/roomState.js b/src/components/roomState.js index ca71cdd..d136477 100644 --- a/src/components/roomState.js +++ b/src/components/roomState.js @@ -19,11 +19,8 @@ export default () => { }, []) return ( -

- Raumstatus:{" "} - - {roomStateData[openState].text} - -

+ + {roomStateData[openState].text} + ) } diff --git a/src/markdown-pages/treff.mdx b/src/markdown-pages/treff.mdx index 5642825..1588f40 100644 --- a/src/markdown-pages/treff.mdx +++ b/src/markdown-pages/treff.mdx @@ -2,9 +2,9 @@ path: "/treff" title: "Zeiten & Location" --- -import RoomState from "../components/roomState" +import RoomState from "../components/roomState.js" - +## Raumstatus: ## Treff