This hook builds the links available to the user, using the data returned by the layoutQuery.data
.
layoutQuery
The following fields are accessible from the layoutQuery
response:
pointsNamePlural
pointsNameSingular
bankBalance
cultureCloud
theme
ccIsBellIndicatorActive
hasRedeemAwardsPermission
// import { useLayoutLinks } from '@octanner/prism-core/hooks';// import LayoutContext from '@octanner/prism-core/context/Layout'() => {const [layoutQuery] = React.useContext(LayoutContext);const links = useLayoutLinks(layoutQuery?.data);return null;};