Skip to content

Commit

Permalink
Minor: naming: plural and singular.
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinTail committed Apr 22, 2024
1 parent 4473af0 commit 9a29e13
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions library/src/containers/Servers/Security.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ export const Security: React.FunctionComponent<Props> = ({
}
} else {
const securities: React.ReactNodeArray = Object.values(security)
.map(requirement => requirement.all())
.map(requirements => requirements.all())
.flat()
.map(requirements => {
const def = requirements.scheme();
const requiredScopes = requirements.scopes();
.map(requirement => {
const def = requirement.scheme();
const requiredScopes = requirement.scopes();

if (!def) {
return null;
Expand Down

0 comments on commit 9a29e13

Please sign in to comment.