Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STCOR-925 Expose usePreferences in top-level index #1596

Merged
merged 2 commits into from
Feb 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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