Skip to content

Commit

Permalink
STCOR-925 Expose usePreferences in top-level index (#1596)
Browse files Browse the repository at this point in the history
Implemented for use with
[App-reordering](#1584),
now available for module level user preference needs...
  • Loading branch information
JohnC-80 authored Feb 24, 2025
1 parent d0fca16 commit 6826697
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
* Change Help icon aria label to just Help in MainNav component. Refs STCOR-931.
* *BREAKING* remove token-based authentication code. Refs STCOR-918.
* *BREAKING* replace useSecureTokens conditionalsRefs STCOR-922.
* Expose `usePreferences` hook. Refs STCOR-925.
* Set tenant context based on authentication response with overrideUser parameter on login (Eureka, ECS - Single tenant UX) STCOR-946.
* Omit leading slash in paths passed to `ky` in `useModuleInfo`. Refs STCOR-949.
* Added `location` to a hook in `<MainNav>` to fix comparing old `location` value. Fixes STCOR-950.
Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export { getUserTenantsPermissions } from './src/queries';
/* Hooks */
export { useUserTenantPermissions } from './src/hooks';
export { useModuleInfo } from './src/hooks';
export { usePreferences } from './src/hooks';

/* misc */
export { supportedLocales } from './src/loginServices';
Expand Down

0 comments on commit 6826697

Please sign in to comment.