Skip to content

Commit 425df50

Browse files
committed
chore: fix console warning on nested button elements in ScenarioNode component
1 parent c59803d commit 425df50

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cards/ScenarioNode/ScenarioNode.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,8 @@ export const ScenarioNode = ({
300300
<AccordionSummary
301301
className={classes.accordionSummary}
302302
expandIcon={<ExpandMoreIcon data-cy="expand-accordion-button" />}
303+
component="div"
304+
role="button"
303305
>
304306
{getScenarioHeader()}
305307
{showDeleteIcon && (

0 commit comments

Comments
 (0)