property RoleSwitcherProps.onSaved

Called with the role the server kept.

Type

(role: Role) => void

Usage

import { type RoleSwitcherProps } from "src/components/profile/RoleSwitcher.tsx";