Skip to content

Fix conversionRate PropType of GasModalPageContainer#9651

Merged
Gudahtt merged 1 commit intodevelopfrom
fix-gas-modal-conversion-rate-prop-type-error
Oct 20, 2020
Merged

Fix conversionRate PropType of GasModalPageContainer#9651
Gudahtt merged 1 commit intodevelopfrom
fix-gas-modal-conversion-rate-prop-type-error

Conversation

@Gudahtt
Copy link
Copy Markdown
Member

@Gudahtt Gudahtt commented Oct 20, 2020

The conversionRate prop of GasModalPageContainer was updated recently in PR #9623 to have a PropType of string instead of number. This resulted in a PropType error whenever this modal was rendered, as conversionRate is always a number.

The PropType has been reverted to the correct type, number.

The `conversionRate` prop of `GasModalPageContainer` was updated
recently in PR #9623 to have a PropType of `string` instead of
`number`. This resulted in a PropType error whenever this modal was
rendered, as `conversionRate` is always a `number`.

The PropType has been reverted to the correct type, `number`.
@Gudahtt Gudahtt requested a review from a team as a code owner October 20, 2020 00:48
@Gudahtt Gudahtt requested review from danjm and kumavis October 20, 2020 00:48
@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [acc9f05]
Page Load Metrics (491 ± 73 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint329339136
domContentLoaded30272348915373
load30672549115373
domInteractive30172348915373

@Gudahtt Gudahtt merged commit a9a432d into develop Oct 20, 2020
@Gudahtt Gudahtt deleted the fix-gas-modal-conversion-rate-prop-type-error branch October 20, 2020 13:07
@github-actions github-actions bot locked and limited conversation to collaborators Oct 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants