Skip to content

Commit

Permalink
ahem functions ain't public unless you export 'em
Browse files Browse the repository at this point in the history
  • Loading branch information
zburke committed Jan 13, 2025
1 parent 1644c97 commit 750799a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export { getUserTenantsPermissions } from './src/queries';

/* Hooks */
export { useUserTenantPermissions } from './src/hooks';
export { useModuleFor } from './src/hooks';

/* misc */
export { supportedLocales } from './src/loginServices';
Expand Down
4 changes: 3 additions & 1 deletion src/hooks/index.js
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export { default as useUserTenantPermissions } from './useUserTenantPermissions'; // eslint-disable-line import/prefer-default-export
export { default as useUserTenantPermissions } from './useUserTenantPermissions';
export { default as useModuleFor } from './useModuleFor';

0 comments on commit 750799a

Please sign in to comment.