From ee3b2aea0732c0a3f047a19e15fca35904b17c76 Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Sat, 29 Jan 2022 18:24:08 +0000 Subject: [PATCH] Load config from server. --- client/src/app/App.tsx | 1 + .../dashboard/users/games/_game/_playtype/UGPTSettingsPage.tsx | 2 +- client/src/index.tsx | 1 + client/src/lib/config.ts | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/client/src/app/App.tsx b/client/src/app/App.tsx index 753ca660c..7ad1c2b9e 100644 --- a/client/src/app/App.tsx +++ b/client/src/app/App.tsx @@ -1,5 +1,6 @@ import { LoadingScreen } from "components/layout/screens/LoadingScreen"; import { BannedContextProvider } from "context/BannedContext"; +import ErrorBoundary from "components/util/ErrorBoundary"; import { SubheaderContextProvider } from "context/SubheaderContext"; import { UserContextProvider } from "context/UserContext"; import { UserGameStatsContextProvider } from "context/UserGameStatsContext"; diff --git a/client/src/app/pages/dashboard/users/games/_game/_playtype/UGPTSettingsPage.tsx b/client/src/app/pages/dashboard/users/games/_game/_playtype/UGPTSettingsPage.tsx index ddd40c979..a08ea9c16 100644 --- a/client/src/app/pages/dashboard/users/games/_game/_playtype/UGPTSettingsPage.tsx +++ b/client/src/app/pages/dashboard/users/games/_game/_playtype/UGPTSettingsPage.tsx @@ -201,7 +201,7 @@ function PreferencesForm({ reqUser, game, playtype }: Props) { value={formik.values.gameSpecific.bpiTarget} min={0} max={100} - step={10} + step={5} onChange={formik.handleChange} />