mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 01:35:17 +01:00
16 lines
381 B
JavaScript
16 lines
381 B
JavaScript
import React from 'react';
|
|
import { useSelector } from 'react-redux';
|
|
import Page from './layout/Page';
|
|
import styles from './Account.module.css';
|
|
|
|
export default function Account() {
|
|
const user = useSelector(state => state.user);
|
|
return (
|
|
<Page>
|
|
<h2>Account</h2>
|
|
<div className={styles.label}>username</div>
|
|
<div>{user.username}</div>
|
|
</Page>
|
|
);
|
|
}
|