fix(console.log) : remove unused consol.log

pull/73/head
Clement G 4 years ago
parent b3f6819756
commit 77f86f8c4e

@ -70,11 +70,11 @@ module.exports = {
); );
if (count > 0) { if (count > 0) {
console.log( /* console.log(
`i18next-scanner: count=${chalk.cyan(count)}, file=${chalk.yellow( `i18next-scanner: count=${chalk.cyan(count)}, file=${chalk.yellow(
JSON.stringify(file.relative) JSON.stringify(file.relative)
)}` )}`
); );*/
} }
done(); done();

@ -324,7 +324,6 @@ class CreateElection extends Component {
}) })
.then(response => response.json()) .then(response => response.json())
.then(result => { .then(result => {
console.log(result);
if (result.id) { if (result.id) {
const nextPage = const nextPage =
electorEmails && electorEmails.length electorEmails && electorEmails.length

@ -15,7 +15,6 @@ class CreateSuccess extends Component {
static contextType = AppContext; static contextType = AppContext;
constructor(props) { constructor(props) {
super(props); super(props);
console.log(props);
const electionSlug = this.props.match.params.slug; const electionSlug = this.props.match.params.slug;
this.state = { this.state = {
urlOfVote: urlOfVote:
@ -36,7 +35,6 @@ class CreateSuccess extends Component {
render() { render() {
const {t} = this.props; const {t} = this.props;
console.log(this.props)
const electionLink = this.props.invitationOnly ? ( const electionLink = this.props.invitationOnly ? (
<> <>
<p className="mt-4 mb-1"> <p className="mt-4 mb-1">

@ -181,7 +181,6 @@ class Result extends Component {
candidates && candidates.length > 0 candidates && candidates.length > 0
? Object.keys(candidates[0].profile) ? Object.keys(candidates[0].profile)
: []; : [];
console.log(gradeIds);
return ( return (
<Container> <Container>

Loading…
Cancel
Save