Skip to content

Commit

Permalink
disabled eslint warning for hasRequiredScopes.
Browse files Browse the repository at this point in the history
  • Loading branch information
PasinduYeshan committed Sep 26, 2024
1 parent 53359b5 commit 9e1ff06
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions apps/myaccount/src/components/profile/profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,16 @@

import { ProfileConstants } from "@wso2is/core/constants";
import { IdentityAppsApiException } from "@wso2is/core/exceptions";
import {
getUserNameWithoutDomain,
hasRequiredScopes,
/**
* `useRequiredScopes` is not supported for myaccount.
*/
/* eslint-disable no-restricted-imports */
import { getUserNameWithoutDomain, hasRequiredScopes,
isFeatureEnabled,
resolveUserDisplayName,
resolveUserEmails
} from "@wso2is/core/helpers";
/* eslint-enable */
import {
ProfileSchemaInterface,
SBACInterface,
Expand Down

0 comments on commit 9e1ff06

Please sign in to comment.