0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-03-10 22:22:45 -05:00

chore: fix typo (#7102)

This commit is contained in:
Charles Zhao 2025-03-05 19:00:10 +08:00 committed by GitHub
parent 3594e1316b
commit cc4a00454f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -136,7 +136,7 @@ export default function consentRoutes<T extends IRouterParamContext>(
({ resource, scopes }) => [resource.indicator, scopes.map(({ name }) => name)]
);
// The entries whoes resource indecator is not in the prev entries
// The entries whose resource indicator is not present in the previous entries
const newEntries: Array<[string, string[]]> = organizationEntries.filter(
([resourceIndicator]) =>
!entries.some(([indicator]) => indicator === resourceIndicator)