From c88ac1c26edda0f83970833aaa035bf59fd70d92 Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Mon, 29 Aug 2022 16:47:51 -0400 Subject: [PATCH] fix some stuff with the timestamp settings --- src/GameOptions/ui/GameOptionsPage.tsx | 2 +- src/GameOptions/ui/InterfacePage.tsx | 3 +-- src/PersonObjects/Player/PlayerObjectGeneralMethods.ts | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/GameOptions/ui/GameOptionsPage.tsx b/src/GameOptions/ui/GameOptionsPage.tsx index 793fb7abb..681e2b62f 100644 --- a/src/GameOptions/ui/GameOptionsPage.tsx +++ b/src/GameOptions/ui/GameOptionsPage.tsx @@ -1,4 +1,4 @@ -import { List, Paper, Typography } from "@mui/material"; +import { Paper, Typography } from "@mui/material"; import React from "react"; interface IProps { diff --git a/src/GameOptions/ui/InterfacePage.tsx b/src/GameOptions/ui/InterfacePage.tsx index 843902a11..1c6745df9 100644 --- a/src/GameOptions/ui/InterfacePage.tsx +++ b/src/GameOptions/ui/InterfacePage.tsx @@ -1,10 +1,9 @@ import React, { useState } from "react"; import { MenuItem, Select, SelectChangeEvent, TextField, Tooltip, Typography } from "@mui/material"; -import { defaultSettings, Settings } from "../../Settings/Settings"; +import { 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); diff --git a/src/PersonObjects/Player/PlayerObjectGeneralMethods.ts b/src/PersonObjects/Player/PlayerObjectGeneralMethods.ts index 879620c79..9fc352893 100644 --- a/src/PersonObjects/Player/PlayerObjectGeneralMethods.ts +++ b/src/PersonObjects/Player/PlayerObjectGeneralMethods.ts @@ -23,7 +23,7 @@ import { Locations } from "../../Locations/Locations"; import { CityName } from "../../Locations/data/CityNames"; import { LocationName } from "../../Locations/data/LocationNames"; import { Sleeve } from "../Sleeve/Sleeve"; -import { isSleeveCompanyWork, SleeveCompanyWork } from "../Sleeve/Work/SleeveCompanyWork"; +import { isSleeveCompanyWork } from "../Sleeve/Work/SleeveCompanyWork"; import { calculateSkill as calculateSkillF, calculateSkillProgress as calculateSkillProgressF,