Skip to content

fix: "Warning: Invalid argument supplied to oneOfType"#27267

Merged
HowardBraham merged 1 commit intodevelopfrom
fix-one-of-type-warning
Sep 26, 2024
Merged

fix: "Warning: Invalid argument supplied to oneOfType"#27267
HowardBraham merged 1 commit intodevelopfrom
fix-one-of-type-warning

Conversation

@HowardBraham
Copy link
Copy Markdown
Contributor

@HowardBraham HowardBraham commented Sep 18, 2024

Description

Fixes this Warning introduced in #26426:

ramps-card.js:150 Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.

Open in GitHub Codespaces

Related issues

Fixes: #26426

Manual testing steps

Screenshots/Recordings

Before

After

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@github-actions
Copy link
Copy Markdown
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@sonarqubecloud
Copy link
Copy Markdown

@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [352c0d9]
Page Load Metrics (1887 ± 127 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint30526181709525252
domContentLoaded154425851854254122
load155325941887264127
domInteractive23198524923
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: -43 Bytes (-0.00%)
  • common: 0 Bytes (0.00%)

@HowardBraham HowardBraham marked this pull request as ready for review September 18, 2024 23:15
@HowardBraham HowardBraham requested a review from a team as a code owner September 18, 2024 23:15
@HowardBraham HowardBraham merged commit 83e499c into develop Sep 26, 2024
@HowardBraham HowardBraham deleted the fix-one-of-type-warning branch September 26, 2024 15:45
@github-actions github-actions bot locked and limited conversation to collaborators Sep 26, 2024
@metamaskbot metamaskbot added the release-12.6.0 Issue or pull request that will be included in release 12.6.0 label Sep 26, 2024
@HowardBraham HowardBraham added contributor experience An issue that impacts, or planned improvement to, the contributor experience. and removed team-contributor-experience labels Oct 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

contributor experience An issue that impacts, or planned improvement to, the contributor experience. release-12.6.0 Issue or pull request that will be included in release 12.6.0 team-portfolio

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants