Skip to content

Commit

Permalink
Merge pull request #2220 from cisagov/dependabot/npm_and_yarn/fronten…
Browse files Browse the repository at this point in the history
…d/prettier-3.0.3

Bump prettier from 2.8.8 to 3.0.3 in /frontend
  • Loading branch information
Matthew-Grayson authored Jan 17, 2024
2 parents 42bfd72 + 4582e7b commit c4cbfa9
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 21 deletions.
71 changes: 57 additions & 14 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,12 @@
"eslint": "^8.26.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-prettier": "^5.1.2",
"eslint-plugin-react": "^7.31.10",
"express": "^4.18.2",
"helmet": "^7.0.0",
"jest-date-mock": "^1.0.8",
"prettier": "^2.7.1",
"prettier": "^3.0.3",
"sass": "^1.55.0",
"serverless": "^3.30",
"serverless-better-credentials": "^1.2.0",
Expand Down
9 changes: 5 additions & 4 deletions frontend/src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -430,10 +430,11 @@ const HeaderNoCtx: React.FC<ContextType> = (props) => {
) {
return options;
}
return options.filter((option) =>
option?.name
.toLowerCase()
.includes(state.inputValue.toLowerCase())
return options.filter(
(option) =>
option?.name
.toLowerCase()
.includes(state.inputValue.toLowerCase())
);
}}
disableClearable
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/Organizations/Organizations.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export const Organizations: React.FC = () => {
({
...org,
tags: org.tags.map((tag) => tag.name)
} as any)
}) as any
)
}
/>
Expand Down

0 comments on commit c4cbfa9

Please sign in to comment.