Skip to content

fix(payments-next): resolve linting error#18968

Merged
david1alvarez merged 1 commit intomainfrom
davey-lint-fix
Jun 3, 2025
Merged

fix(payments-next): resolve linting error#18968
david1alvarez merged 1 commit intomainfrom
davey-lint-fix

Conversation

@david1alvarez
Copy link
Contributor

Because:

  • a variable could be undefined, and one of its attributes is accessed unsafely

This commit:

  • safely access the attribute

Closes #N/A

Put an x in the boxes that apply

  • My commit is GPG signed.
  • If applicable, I have modified or added tests which pass locally.
  • I have added necessary documentation (if appropriate).
  • I have verified that my changes render correctly in RTL (if appropriate).

Screenshots (Optional)

Please attach the screenshots of the changes made in case of change in user interface.

Other information (Optional)

Any other information that is important to this pull request.

Because:

* a variable could be undefined, and one of its attributes is accessed unsafely

This commit:

* safely access the attribute

Closes #N/A
@david1alvarez david1alvarez requested a review from a team as a code owner June 3, 2025 22:13
Copy link
Member

@julianpoy julianpoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@david1alvarez david1alvarez merged commit bd67544 into main Jun 3, 2025
19 checks passed
@david1alvarez david1alvarez deleted the davey-lint-fix branch June 3, 2025 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants