useTrixtaRoleUnmount
A react hook that will attempt to leave the passed roleName, on unmount of component.
import { useTrixtaRoleUnmount } from '@trixtateam/trixta-js-core';
useTrixtaRoleUnmount({ roleName });
Options
roleName : stringTrixta role name
Returns
This hook returns nothing
Last updated
Was this helpful?