1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

#23 added labs layout

This commit is contained in:
Fedor Katurov 2021-03-12 12:04:10 +07:00
parent 8316b46efe
commit 18ec220a4e
14 changed files with 135 additions and 65 deletions

View file

@ -82,6 +82,15 @@ const HeaderUnconnected: FC<IProps> = memo(
<Filler />
<div className={styles.plugs}>
{is_user && (
<Link
className={classNames(styles.item, { [styles.is_active]: pathname === URLS.BASE })}
to={URLS.LAB}
>
ЛАБ
</Link>
)}
<Link
className={classNames(styles.item, { [styles.is_active]: pathname === URLS.BASE })}
to={URLS.BASE}
@ -122,9 +131,6 @@ const HeaderUnconnected: FC<IProps> = memo(
}
);
const Header = connect(
mapStateToProps,
mapDispatchToProps
)(HeaderUnconnected);
const Header = connect(mapStateToProps, mapDispatchToProps)(HeaderUnconnected);
export { Header };