mirror of
https://github.com/brianlovin/security-checklist.git
synced 2026-03-11 08:55:31 +00:00
Add forgotten type="button"
This commit is contained in:
parent
17b77dfae9
commit
6420dccd52
1 changed files with 1 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ export const Heading = ({ resource, isCollapsed, handleCollapse }: Props) => (
|
|||
onClick={handleCollapse}
|
||||
aria-controls={`content_${resource.id}`}
|
||||
aria-expanded={!isCollapsed}
|
||||
type="button"
|
||||
>
|
||||
{isCollapsed ? 'Show details' : 'Hide details'}
|
||||
</Uncollapse>
|
||||
|
|
|
|||
Loading…
Reference in a new issue