Skip to content

Commit

Permalink
Merge pull request #142 from kinde-oss/peter/fix-permissions
Browse files Browse the repository at this point in the history
fix: permissions.some
  • Loading branch information
DanielRivers authored Mar 28, 2024
2 parents dae0a60 + 73aa1b2 commit ccf0c12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/KindeBrowserClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export const useKindeBrowserClient = (
*/
const getPermission = (key) => {
return {
isGranted: state.permissions.some((p) => p === key),
isGranted: state.permissions.permissions.some((p) => p === key),
orgCode: state.organization
};
};
Expand Down

0 comments on commit ccf0c12

Please sign in to comment.