mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-19 01:28:38 +02:00
refactor: fix all eslint warnings (#6502)
This commit is contained in:
parent
c1e3801ee7
commit
4f2b09fe32
3 changed files with 24 additions and 10 deletions
|
@ -46,6 +46,7 @@ function Details({summary, children, ...props}: DetailsProps): JSX.Element {
|
|||
const [open, setOpen] = useState(props.open);
|
||||
|
||||
return (
|
||||
// eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-noninteractive-element-interactions
|
||||
<details
|
||||
{...props}
|
||||
ref={detailsRef}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue