From 7111de88ec987e1622a6d6e31bff5f9f974108f7 Mon Sep 17 00:00:00 2001 From: Colin Dawson Date: Fri, 20 Feb 2026 20:03:39 +0000 Subject: [PATCH] Couple of minor bug fixes --- src/Sass/global.scss | 1 - src/modules/profile/Profile.tsx | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Sass/global.scss b/src/Sass/global.scss index 9068d5d..3ebf7ec 100644 --- a/src/Sass/global.scss +++ b/src/Sass/global.scss @@ -19,7 +19,6 @@ $color-mode-type: media-query; // or "class" if you prefer manual control @import "../../node_modules/react-toastify/dist/ReactToastify"; @import "../../node_modules/bootstrap/dist/css/bootstrap"; -@import "../../node_modules/react-toggle/style"; @import "../../node_modules/@ckeditor/ckeditor5-theme-lark/theme/theme"; @import "./_domains.scss"; diff --git a/src/modules/profile/Profile.tsx b/src/modules/profile/Profile.tsx index 6884c9f..e0079e2 100644 --- a/src/modules/profile/Profile.tsx +++ b/src/modules/profile/Profile.tsx @@ -1,8 +1,9 @@ +import { EXTERNAL_LOGIN } from "../../environment"; import ExternalProfile from "./components/ExternalProfile"; import InternalProfile from "./components/InternalProfile"; const Profile: React.FC = () => { - if (window.__RUNTIME_CONFIG__.EXTERNAL_LOGIN) { + if (EXTERNAL_LOGIN) { return ; }