Skip to content

Commit

Permalink
Bump eslint-plugin-primer-react from 5.3.0 to 5.4.0 (#51767)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Bonsignori <[email protected]>
  • Loading branch information
dependabot[bot] and Ebonsignori authored Jul 25, 2024
1 parent 38d62da commit 23d285f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
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 @@ -353,7 +353,7 @@
"eslint-plugin-github": "^5.0.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.9.0",
"eslint-plugin-primer-react": "^5.3.0",
"eslint-plugin-primer-react": "^5.4.0",
"event-to-promise": "^0.8.0",
"graphql": "^16.9.0",
"http-status-code": "^2.1.0",
Expand Down
5 changes: 3 additions & 2 deletions src/rest/components/RestCodeSamples.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { useState, useEffect, useRef, FormEvent } from 'react'
import { FormControl, Select, Tooltip, TabNav } from '@primer/react'
import { FormControl, Select, TabNav } from '@primer/react'
import { Tooltip } from '@primer/react/next'
import { CheckIcon, CopyIcon } from '@primer/octicons-react'
import Cookies from 'src/frame/components/lib/cookies'
import cx from 'classnames'
Expand Down Expand Up @@ -283,7 +284,7 @@ export function RestCodeSamples({ operation, slug, heading }: Props) {
<Tooltip
className="mr-2"
direction="w"
aria-label={isCopied ? t('button_text.copied') : t('button_text.copy_to_clipboard')}
text={isCopied ? t('button_text.copied') : t('button_text.copy_to_clipboard')}
>
<button
className="js-btn-copy btn-octicon"
Expand Down

0 comments on commit 23d285f

Please sign in to comment.