import React from 'react'; import { useSelector } from 'react-redux'; import classNames from 'classnames'; import Link from 'components/Link'; import UserButton from './UserButton'; import styles from './Header.module.css'; export default function Header() { const user = useSelector(state => state.user); return (
{user ? umami : 'umami'}
{user && (
Dashboard Settings
)}
); }