From bfaa43ce3a8a3790bbaff1f275c4bc190123ba90 Mon Sep 17 00:00:00 2001 From: ChaotiCryptidz Date: Tue, 11 Jan 2022 13:29:38 +0000 Subject: [PATCH] change language better for now. --- src/ui/pages/SetLanguage.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui/pages/SetLanguage.tsx b/src/ui/pages/SetLanguage.tsx index 7d95e6a..a5e04b5 100644 --- a/src/ui/pages/SetLanguage.tsx +++ b/src/ui/pages/SetLanguage.tsx @@ -50,6 +50,7 @@ export class SetLanguage extends Component { this.props.settings.pageDirection = t("language_direction"); // TODO: make navbar somethingy //reloadNavBar(this.router); - route("/"); + //route("/"); + window.location.pathname = "/"; } }