© 2026 Hedgehog Software, LLC
isAdmin
const Dashboard = ({ user }: { user: User }) => { const history = useHistory(); if (!user.isAdmin) { history.push('/'); }