Skip to content

Commit

Permalink
chore(deps-dev): bump prettier from 2.8.1 to 2.8.8 (#3335)
Browse files Browse the repository at this point in the history
* chore(deps-dev): bump prettier from 2.8.1 to 2.8.8

Bumps [prettier](https://github.com/prettier/prettier) from 2.8.1 to 2.8.8.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@2.8.1...2.8.8)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: run prettier

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Josh Black <joshblack@users.noreply.github.com>
Co-authored-by: Josh Black <joshblack@github.com>
  • Loading branch information
3 people committed May 30, 2023
1 parent 536a93b commit 1665a1b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion contributor-docs/adrs/adr-010-behavior-isolation.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Primer React's [recent addition of the Relative Time component](https://github.c

```typescript
const root = (typeof globalThis !== 'undefined' ? globalThis : window) as typeof window
const HTMLElement = root.HTMLElement || (null as unknown as typeof window['HTMLElement'])
const HTMLElement = root.HTMLElement || (null as unknown as (typeof window)['HTMLElement'])
```

These lines could also be added to the global context, to avoid adding it to each element.
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@
"micromark-extension-frontmatter": "1.0.0",
"micromark-extension-mdxjs": "1.0.1",
"postcss-custom-properties-fallback": "^1.0.2",
"prettier": "2.8.1",
"prettier": "2.8.8",
"react": "18.2.0",
"react-dnd": "14.0.4",
"react-dnd-html5-backend": "14.0.2",
Expand Down
4 changes: 2 additions & 2 deletions src/ActionList/ActionList.features.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ export const InsideOverlay = () => {
export const GroupWithSubtleTitle = () => {
const [assignees, setAssignees] = React.useState(users.slice(0, 1))

const toggleAssignee = (assignee: typeof users[number]) => {
const toggleAssignee = (assignee: (typeof users)[number]) => {
const assigneeIndex = assignees.findIndex(a => a.login === assignee.login)

if (assigneeIndex === -1) setAssignees([...assignees, assignee])
Expand Down Expand Up @@ -450,7 +450,7 @@ export const GroupWithSubtleTitle = () => {
export const GroupWithFilledTitle = () => {
const [assignees, setAssignees] = React.useState(users.slice(0, 1))

const toggleAssignee = (assignee: typeof users[number]) => {
const toggleAssignee = (assignee: (typeof users)[number]) => {
const assigneeIndex = assignees.findIndex(a => a.login === assignee.login)

if (assigneeIndex === -1) setAssignees([...assignees, assignee])
Expand Down
4 changes: 2 additions & 2 deletions src/ActionMenu/ActionMenu.examples.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const GroupsAndDescriptions = () => {
{name: 'FY23 - Q2', due: 'December 30, 2022', progress: 0},
]

const [selectedMilestone, setSelectedMilestone] = React.useState<typeof milestones[0] | undefined>()
const [selectedMilestone, setSelectedMilestone] = React.useState<(typeof milestones)[0] | undefined>()

return (
<ActionMenu open>
Expand Down Expand Up @@ -241,7 +241,7 @@ export const MixedSelection = () => {
export const MultipleSections = () => {
const items = [{name: 'Show code folding buttons'}, {name: 'Wrap lines'}, {name: 'Center content'}]

const [selectedMilestone, setSelectedMilestone] = React.useState<typeof items[0] | undefined>()
const [selectedMilestone, setSelectedMilestone] = React.useState<(typeof items)[0] | undefined>()

return (
<ActionMenu open>
Expand Down

0 comments on commit 1665a1b

Please sign in to comment.