From ea743449a1f1e94e8afa3f87c6702c9211d9b653 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Thu, 11 Mar 2021 14:54:14 +0100 Subject: moved gameMode back to gamerule settings but commented out better --- components/gameSettings.tsx | 61 +++++++++++++++++++++------------------------ 1 file changed, 29 insertions(+), 32 deletions(-) diff --git a/components/gameSettings.tsx b/components/gameSettings.tsx index 0b30801..be45112 100644 --- a/components/gameSettings.tsx +++ b/components/gameSettings.tsx @@ -1,4 +1,4 @@ -import { ReactNode, Component } from 'react'; +import { ReactNode, Component, CSSProperties } from 'react'; import axios from 'axios'; import { Button, Vierkant, CheckBox, Input } from './ui'; @@ -122,38 +122,22 @@ function GameSettingsSection(props: { } -/* function GameRule(props: { */ -/* title: string; */ -/* description: string; */ -/* style?: CSSProperties; */ -/* }) { */ -/* return
*/ -/*

{props.title}

*/ -/*

{props.description}

*/ -/*
; */ -/* } */ - -/* - -
- - -
- - -
-*/ +

{props.title}

+

{props.description}

+ ; +} type editGameSettingsProps = { parentState: CurrentGameSettingsStateType; @@ -190,6 +174,19 @@ export class EditGameSettings extends Component { marginLeft: 4 }}>Timer gebruiken voor bijde spelers + { false && +
+ + +
+ + +
}