Skip to content

Commit

Permalink
Merge pull request #31 from input-output-hk/fix/add-missing-dialog-de…
Browse files Browse the repository at this point in the history
…scription-testid

fix: add missing testId for dialog-description
  • Loading branch information
wklos-iohk authored Jul 29, 2024
2 parents e219e74 + 68b03f5 commit c036a8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/design-system/dialog/dialog-description.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export interface DialogDescriptionProps {
export const Description = ({
children,
}: Readonly<DialogDescriptionProps>): JSX.Element => (
<AlertDialog.Description asChild>
<AlertDialog.Description asChild data-testid="dialog-description">
{typeof children === 'string' ? (
<Text.Body.Normal className={cx.dialogDescription} weight="$medium">
{children}
Expand Down

0 comments on commit c036a8f

Please sign in to comment.