Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

HowardBraham
Copy link
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.

Copy link
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.

@github-actions github-actions bot added the team-contributor-experience MetaMask Contributor Experience Group label Sep 18, 2024
@HowardBraham HowardBraham self-assigned this Sep 18, 2024
Copy link

sonarcloud bot commented Sep 18, 2024

@metamaskbot
Copy link
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-contributor-experience MetaMask Contributor Experience Group team-portfolio
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants