Couple of minor bug fixes

This commit is contained in:
Colin Dawson 2026-02-20 20:03:39 +00:00
parent 76a001b13d
commit 7111de88ec
2 changed files with 2 additions and 2 deletions

View File

@ -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";

View File

@ -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 <ExternalProfile url="/account/profile" />;
}