diff --git a/src/pages/People/PersonProfile/PersonProfile.tsx b/src/pages/People/PersonProfile/PersonProfile.tsx index 91bf327..faf5e2f 100644 --- a/src/pages/People/PersonProfile/PersonProfile.tsx +++ b/src/pages/People/PersonProfile/PersonProfile.tsx @@ -17,7 +17,7 @@ import { WaiverForm } from "./WaiverForm"; export function PersonProfile() { const [isEditing, setEditing] = useState(false); const [showDeskCreditForm, setShowDeskCreditForm] = useState(false); - const { isOfficer } = usePermissions(); + const { isDeskManager } = usePermissions(); const onEdit = () => { setEditing(true); @@ -89,7 +89,7 @@ export function PersonProfile() {
Mitoc credit: ${person.mitocCredit}
- {isOfficer && ( + {isDeskManager && ( setShowDeskCreditForm((current) => !current)} isOpen={showDeskCreditForm}