import React from 'react'; import { useSelector } from 'react-redux'; import classNames from 'classnames'; import Link from 'components/interface/Link'; import UserButton from '../interface/UserButton'; import Icon from '../interface/Icon'; import Logo from 'assets/logo.svg'; import styles from './Header.module.css'; export default function Header() { const user = useSelector(state => state.user); return (
} size="L" className={styles.logo} /> {user ? umami : 'umami'}
{user && (
Dashboard Settings
)}
); }