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

header plugs is back again

This commit is contained in:
Fedor Katurov 2019-11-13 16:29:03 +07:00
parent f781ecc6aa
commit 5684b4745b
3 changed files with 26 additions and 13 deletions

View file

@ -15,6 +15,7 @@ import { pick } from 'ramda';
import { UserButton } from '../UserButton';
import { Icon } from '~/components/input/Icon';
import { Notifications } from '../Notifications';
import { URLS } from '~/constants/urls';
const mapStateToProps = state => ({
user: pick(['username', 'is_user', 'photo'])(selectUser(state)),
@ -42,7 +43,17 @@ const HeaderUnconnected: FC<IProps> = memo(
{is_user && (
<div className={style.plugs}>
<Notifications />
<Link className={style.item} to={URLS.BASE}>
FLOW
</Link>
<Link className={style.item} to={URLS.BORIS}>
BORIS
</Link>
<div className={style.item}>
<Notifications />
</div>
</div>
)}