Skip to content

Commit 4e629a9

Browse files
committed
Lint removed.
1 parent 3655517 commit 4e629a9

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

examples/complete/material/src/routes/Home/containers/HomeContainer.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@ export default class Home extends Component {
7171
if (!auth || !auth.uid) {
7272
return this.setState({ error: 'You must be Logged into Delete' })
7373
}
74-
return this.setState({ error: 'Delete example requires using populate' })
74+
// return this.setState({ error: 'Delete example requires using populate' })
7575
// only works if populated
7676
// if (todos[id].owner.uid !== auth.uid) {
7777
// return this.setState({ error: 'You must own todo to delete' })
7878
// }
79-
// firebase.remove(`/todos/${id}`)
79+
return firebase.remove(`/todos/${id}`)
8080
}
8181

8282
handleAdd = (newTodo) => {
@@ -95,7 +95,7 @@ export default class Home extends Component {
9595
render () {
9696
const { todos } = this.props
9797
const { error } = this.state
98-
console.log('this.props.account', this.props.account)
98+
9999
return (
100100
<div className={classes.container} style={{ color: Theme.palette.primary2Color }}>
101101
{

src/actions/auth.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ export const watchUserProfile = (dispatch, firebase) => {
124124
let populatedChild
125125

126126
switch (childType) {
127-
128127
case 'object':
129128
populatedChild = mapValues(
130129
child,

src/connect.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import React, { Component } from 'react';
2-
import PropTypes from 'prop-types';
1+
import React, { Component } from 'react'
2+
import PropTypes from 'prop-types'
33
import { isEqual } from 'lodash'
44
import hoistStatics from 'hoist-non-react-statics'
55
import { watchEvents, unWatchEvents } from './actions/query'

0 commit comments

Comments
 (0)