restore purecomponent, remove console.log
This commit is contained in:
parent
241a0118a2
commit
9418e78046
6 changed files with 5 additions and 10 deletions
|
@ -3,7 +3,7 @@ import { BusyMessage } from "component/common";
|
|||
import UserEmailNew from "component/userEmailNew";
|
||||
import UserEmailVerify from "component/userEmailVerify";
|
||||
|
||||
export class Auth extends React.Component {
|
||||
export class Auth extends React.PureComponent {
|
||||
render() {
|
||||
const { isPending, email, isVerificationCandidate } = this.props;
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import ModalPage from "component/modal-page.js";
|
|||
import Auth from "component/auth";
|
||||
import Link from "component/link";
|
||||
|
||||
export class AuthOverlay extends React.Component {
|
||||
export class AuthOverlay extends React.PureComponent {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ import React from "react";
|
|||
import Link from "component/link";
|
||||
import { FormRow } from "component/form.js";
|
||||
|
||||
class UserEmailNew extends React.Component {
|
||||
class UserEmailNew extends React.PureComponent {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ import React from "react";
|
|||
import Link from "component/link";
|
||||
import { FormRow } from "component/form.js";
|
||||
|
||||
class UserEmailVerify extends React.Component {
|
||||
class UserEmailVerify extends React.PureComponent {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
|
||||
|
|
|
@ -4,13 +4,10 @@ import { CreditAmount } from "component/common";
|
|||
import Link from "component/link";
|
||||
import RewardLink from "component/rewardLink";
|
||||
|
||||
class WelcomeModal extends React.Component {
|
||||
class WelcomeModal extends React.PureComponent {
|
||||
render() {
|
||||
const { closeModal, hasClaimed, isRewardApproved, reward } = this.props;
|
||||
|
||||
console.log("welcome");
|
||||
console.log(this.props);
|
||||
|
||||
return !hasClaimed
|
||||
? <Modal type="custom" isOpen={true} contentLabel="Welcome to LBRY">
|
||||
<section>
|
||||
|
|
|
@ -38,8 +38,6 @@ const RewardsPage = props => {
|
|||
rewards,
|
||||
} = props;
|
||||
|
||||
console.log(props);
|
||||
|
||||
let content,
|
||||
isCard = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue