Skip to content

Commit

Permalink
chore(FormStatus): remove globalStauts prop from HTML attributes (#2357)
Browse files Browse the repository at this point in the history
* chore(FormStatus): remove globalStauts prop from HTML attributes

* update snapshots
  • Loading branch information
tujoworker committed May 31, 2023
1 parent ddffa58 commit 5bcf549
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -368,11 +368,6 @@ exports[`Autocomplete markup have to match snapshot 1`] = `
>
<span
className="dnb-form-status dnb-form-status--error dnb-form-status__size--default dnb-form-status--has-content"
globalStatus={
{
"id": "main",
}
}
id="autocomplete-id-form-status"
role="alert"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -403,11 +403,6 @@ exports[`Dropdown markup have to match snapshot 1`] = `
>
<span
className="dnb-form-status dnb-form-status--error dnb-form-status__size--default dnb-form-status--has-content"
globalStatus={
{
"id": "main",
}
}
id="dropdown-id-form-status"
role="alert"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ export default class FormStatus extends React.PureComponent {

label, // eslint-disable-line
status_id, // eslint-disable-line
globalStatus, // eslint-disable-line
id, // eslint-disable-line
text, // eslint-disable-line
icon, // eslint-disable-line
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,6 @@ exports[`FormStatus component have to match snapshot 1`] = `
>
<span
className="dnb-form-status dnb-form-status--error dnb-form-status__size--default dnb-form-status--has-content"
globalStatus={
{
"id": "main",
}
}
hidden={false}
id="form-status"
role="alert"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1539,11 +1539,6 @@ exports[`GlobalStatus snapshot have to match linked components snapshot 1`] = `
>
<span
className="dnb-form-status dnb-form-status--error dnb-form-status__size--default dnb-form-status--has-content"
globalStatus={
{
"id": "linked",
}
}
id="switch-form-status"
role="alert"
>
Expand Down

0 comments on commit 5bcf549

Please sign in to comment.