mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
fixed player position
This commit is contained in:
parent
6761ca6330
commit
2ce39efef8
4 changed files with 17 additions and 12 deletions
|
@ -5,17 +5,16 @@ import { selectUser } from '~/redux/auth/selectors';
|
|||
import { pick } from 'ramda';
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
const mapStateToProps = state => pick(['is_user'], selectUser(state));
|
||||
type IProps = {};
|
||||
|
||||
type IProps = ReturnType<typeof mapStateToProps> & {};
|
||||
|
||||
const BottomContainerUnconnected: FC<IProps> = ({ is_user }) => (
|
||||
const BottomContainer: FC<IProps> = () => (
|
||||
<div className={styles.wrap}>
|
||||
<div className={styles.content}>
|
||||
<PlayerBar />
|
||||
<div className={styles.padder}>
|
||||
<PlayerBar />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
const BottomContainer = connect(mapStateToProps)(BottomContainerUnconnected);
|
||||
export { BottomContainer };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue