Fix warnings

This commit is contained in:
Chi Vinh Le committed 2018-05-29 16:50:11 +02:00
1 parent 3a84da9495
commit 576820f1f8
2 files changed
+6 -6

No files matched your search

@@ -1,5 +1,5 @@
import React from 'react';
const PropTypes = require('prop-types');
import PropTypes from 'prop-types';
import { ApolloProvider } from 'react-apollo';
class TalkProvider extends React.Component {
@@ -75,7 +75,7 @@ class SignUp extends React.Component {
showErrors={!!emailError}
errorMsg={emailError}
onChange={this.handleEmailChange}
autocomplete="off"
autoComplete="off"
/>
<TextField
id="username"
@@ -86,8 +86,8 @@ class SignUp extends React.Component {
showErrors={!!usernameError}
errorMsg={usernameError}
onChange={this.handleUsernameChange}
autocomplete="off"
autocapitalize="none"
autoComplete="off"
autoCapitalize="none"
/>
<TextField
id="password"
@@ -99,7 +99,7 @@ class SignUp extends React.Component {
errorMsg={passwordError}
onChange={this.handlePasswordChange}
minLength="8"
autocomplete="off"
autoComplete="off"
/>
{passwordError && (
<span className={styles.hint}>
@@ -116,7 +116,7 @@ class SignUp extends React.Component {
errorMsg={passwordRepeatError}
onChange={this.handlePasswordRepeatChange}
minLength="8"
autocomplete="off"
autoComplete="off"
/>
<Slot
fill="talkPluginAuth.formField"