Skip to content

Commit c940a03

Browse files
committed
Revert order of data-testid and ...rest in ModalView
1 parent 8e474dc commit c940a03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/modal/src/Modal/ModalView.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ const ModalView = React.forwardRef<HTMLDialogElement, ModalProps>(
9090
}}
9191
>
9292
<dialog
93+
data-testid={lgIds.root}
94+
data-lgid={lgIds.root}
9395
{...rest}
9496
ref={dialogRef}
9597
id={id}
96-
data-testid={lgIds.root}
97-
data-lgid={lgIds.root}
9898
className={getDialogStyles({
9999
backdropClassName,
100100
className,

0 commit comments

Comments
 (0)