Quick fix for "checked propType" errors spewing in console, for settings
This commit is contained in:
parent
782fb5d59e
commit
801df9bbbc
1 changed files with 2 additions and 2 deletions
|
@ -237,7 +237,7 @@ class SettingsPage extends React.PureComponent {
|
|||
<FormRow
|
||||
type="radio"
|
||||
name="instant_purchase_max"
|
||||
checked={!instantPurchaseEnabled}
|
||||
defaultChecked={!instantPurchaseEnabled}
|
||||
label={__("Ask for confirmation of all purchases")}
|
||||
onClick={e => {
|
||||
this.onInstantPurchaseEnabledChange(false);
|
||||
|
@ -247,7 +247,7 @@ class SettingsPage extends React.PureComponent {
|
|||
<FormField
|
||||
type="radio"
|
||||
name="instant_purchase_max"
|
||||
checked={instantPurchaseEnabled}
|
||||
defaultChecked={instantPurchaseEnabled}
|
||||
label={
|
||||
"Single-click purchasing of content less than" +
|
||||
(instantPurchaseEnabled ? "" : "...")
|
||||
|
|
Loading…
Add table
Reference in a new issue