RoleSwitcher(unnamed 0: RoleSwitcherProps): React.JSX.Element
Renders the user's role as a Segmented whose clicks save it to
PATCH /api/users/:id/role, which checks the permission again.
unnamed 0: RoleSwitcherProps
RoleSwitcher(unnamed 0: RoleSwitcherProps): React.JSX.Element
Renders the user's role as a Segmented whose clicks save it to
PATCH /api/users/:id/role, which checks the permission again.
unnamed 0: RoleSwitcherProps
import { RoleSwitcher } from "src/components/profile/RoleSwitcher.tsx";