fix paramaeteres
This commit is contained in:
@@ -277,7 +277,7 @@ class Answer extends Component {
|
|||||||
className={classes.textField}
|
className={classes.textField}
|
||||||
classes={{ root: classes.rootTextfield }}
|
classes={{ root: classes.rootTextfield }}
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
placeholder="http://"
|
placeholder="http://www.linkedin.com/in/"
|
||||||
value={this.state.linkedin}
|
value={this.state.linkedin}
|
||||||
onChange={this.handleChange}
|
onChange={this.handleChange}
|
||||||
|
|
||||||
@@ -290,7 +290,7 @@ class Answer extends Component {
|
|||||||
className={classes.textField}
|
className={classes.textField}
|
||||||
classes={{ root: classes.rootTextfield }}
|
classes={{ root: classes.rootTextfield }}
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
placeholder="http://"
|
placeholder="http://twitter.com/.."
|
||||||
value={this.state.twitter}
|
value={this.state.twitter}
|
||||||
onChange={this.handleChange}
|
onChange={this.handleChange}
|
||||||
/>
|
/>
|
||||||
@@ -302,7 +302,7 @@ class Answer extends Component {
|
|||||||
className={classes.textField}
|
className={classes.textField}
|
||||||
classes={{ root: classes.rootTextfield }}
|
classes={{ root: classes.rootTextfield }}
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
placeholder="http://"
|
placeholder="http://monsite.fr"
|
||||||
value={this.state.website}
|
value={this.state.website}
|
||||||
onChange={this.handleChange}
|
onChange={this.handleChange}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import Snackbar from '@material-ui/core/Snackbar';
|
|||||||
import SnackbarContent from '@material-ui/core/SnackbarContent';
|
import SnackbarContent from '@material-ui/core/SnackbarContent';
|
||||||
import WebPush from '../components/atoms/Webpush';
|
import WebPush from '../components/atoms/Webpush';
|
||||||
import { payloadFromSubscription } from '../components/atoms/Utility';
|
import { payloadFromSubscription } from '../components/atoms/Utility';
|
||||||
import { fetchUserSubscriptionToPushRequest } from '../actions/user'
|
import { fetchUserSubscriptionToPush } from '../actions/user'
|
||||||
import Head from 'next/head'
|
import Head from 'next/head'
|
||||||
|
|
||||||
///
|
///
|
||||||
@@ -77,7 +77,7 @@ class Parametres extends Component {
|
|||||||
subscription: { endpoint: '' },
|
subscription: { endpoint: '' },
|
||||||
}
|
}
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
this.fetchUserSubscriptionToPushRequest();
|
this.fetchUserSubscriptionToPush();
|
||||||
}
|
}
|
||||||
|
|
||||||
handleClose = () => {
|
handleClose = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user