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

experiments with howl

This commit is contained in:
Fedor Katurov 2019-10-11 12:04:14 +07:00
parent 4f1d25a928
commit f89a04e644
4 changed files with 104 additions and 177 deletions

View file

@ -1,8 +1,9 @@
import React, { FC, useCallback } from 'react';
import React, { FC, useCallback, useEffect } from 'react';
import { connect } from 'react-redux';
import { push as historyPush } from 'connected-react-router';
import { Link } from 'react-router-dom';
import { Logo } from '~/components/main/Logo';
import { Player } from '~/utils/player';
import * as style from './style.scss';
import { Filler } from '~/components/containers/Filler';
@ -24,6 +25,10 @@ const HeaderUnconnected: FC<IProps> = ({ username, is_user, showDialog }) => {
const onLogin = useCallback(() => showDialog(DIALOGS.LOGIN), [showDialog]);
const onOpenEditor = useCallback(() => showDialog(DIALOGS.EDITOR), [showDialog]);
useEffect(() => {
console.log({ Player });
}, []);
return (
<div className={style.container}>
<Logo />