🐛 Replacing folder URL with config

This commit is contained in:
Maxime Lalo 2023-04-26 11:27:39 +02:00
parent 1db13b6cfe
commit 370ade12ae

View File

@ -8,6 +8,7 @@ import Notifications from "./Notifications";
import Profile from "./Profile";
import BurgerMenu from "./BurgerMenu";
import WindowStore from "@Front/Stores/WindowStore";
import Module from "@Front/Config/Module";
enum EHeaderOpeningState {
OPEN = "open",
@ -49,7 +50,7 @@ export default class Header extends React.Component<IProps, IState> {
return (
<div className={classes["root"]} data-open={this.state.open}>
<div className={classes["logo-container"]}>
<Link href="/">
<Link href={Module.getInstance().get().modules.pages.Folder.props.path}>
<Image src={LogoIcon} alt="logo" className={classes["logo"]} />
</Link>
</div>