diff --git a/src/GameOptions/ui/InterfacePage.tsx b/src/GameOptions/ui/InterfacePage.tsx index e37aebf22..843902a11 100644 --- a/src/GameOptions/ui/InterfacePage.tsx +++ b/src/GameOptions/ui/InterfacePage.tsx @@ -1,9 +1,10 @@ import React, { useState } from "react"; import { MenuItem, Select, SelectChangeEvent, TextField, Tooltip, Typography } from "@mui/material"; -import { Settings } from "../../Settings/Settings"; +import { defaultSettings, Settings } from "../../Settings/Settings"; import { OptionSwitch } from "../../ui/React/OptionSwitch"; import { GameOptionsPage } from "./GameOptionsPage"; import { formatTime } from "../../utils/helpers/formatTime"; +import { Box } from "@mui/system"; export const InterfacePage = (): React.ReactElement => { const [timestampFormat, setTimestampFormat] = useState(Settings.TimestampsFormat); @@ -64,7 +65,7 @@ export const InterfacePage = (): React.ReactElement => { - Timestamp format: + Timestamp format:  ), }} @@ -73,28 +74,28 @@ export const InterfacePage = (): React.ReactElement => { placeholder="yyyy-MM-dd hh:mm:ss" /> - <> - Sets the locale for displaying numbers.}> - Locale - - - + + Example timestamp: {timestampFormat !== "" ? formatTime(timestampFormat) : "no timestamp"} + +
+ + ); }; diff --git a/src/GameOptions/ui/MiscPage.tsx b/src/GameOptions/ui/MiscPage.tsx index 28af7894b..8a4b14789 100644 --- a/src/GameOptions/ui/MiscPage.tsx +++ b/src/GameOptions/ui/MiscPage.tsx @@ -18,7 +18,6 @@ export const MiscPage = (): React.ReactElement => { } /> -
(Settings.EnableBashHotkeys = newValue)}