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 : string

    • Trixta role name

Returns

This hook returns nothing

Last updated