Quick fix for "checked propType" errors spewing in console, for settings #687
3 changed files with 5 additions and 5 deletions
|
@ -17,7 +17,7 @@ Web UI version numbers should always match the corresponding version of LBRY App
|
|||
|
||||
### Fixed
|
||||
* Fixed handling of empty search results.
|
||||
*
|
||||
* Some console errors about "checked propType" when navigating to settings page.
|
||||
|
||||
### Deprecated
|
||||
*
|
||||
|
|
|
@ -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 ? "" : "...")
|
||||
|
|
|
@ -311,13 +311,13 @@ debug@2.2.0:
|
|||
dependencies:
|
||||
ms "0.7.1"
|
||||
|
||||
debug@2.6.0, debug@^2.3.2, debug@^2.6.0:
|
||||
debug@2.6.0:
|
||||
version "2.6.0"
|
||||
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.0.tgz#bc596bcabe7617f11d9fa15361eded5608b8499b"
|
||||
dependencies:
|
||||
ms "0.7.2"
|
||||
|
||||
debug@^2.1.3, debug@^2.2.0, debug@^2.6.8:
|
||||
debug@^2.1.3, debug@^2.2.0, debug@^2.3.2, debug@^2.6.0, debug@^2.6.8:
|
||||
version "2.6.8"
|
||||
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.8.tgz#e731531ca2ede27d188222427da17821d68ff4fc"
|
||||
dependencies:
|
||||
|
|
Loading…
Reference in a new issue