Couple of minor bug fixes
This commit is contained in:
parent
76a001b13d
commit
7111de88ec
@ -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";
|
||||
|
||||
@ -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" />;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user