Skip to content

Commit

Permalink
fix(component generator): usage of firestore - @qalqi
Browse files Browse the repository at this point in the history
Fixes error when not using firestore
  • Loading branch information
prescottprue authored Dec 14, 2017
2 parents 1fcad6d + 73ce5df commit 12ebddf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/route/templates/component/_main.enhancer.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { compose } from 'redux'
import { connect } from 'react-redux'
import { <% if (usingFirestore) { %>firestoreConnect<% } %><% if (!usingFirestore) { %>firestoreConnect<% } %> } from 'react-redux-firebase'
import { <% if (usingFirestore) { %>firestoreConnect<% } %><% if (!usingFirestore) { %>firebaseConnect<% } %> } from 'react-redux-firebase'

export default compose(
// create listener for <%= lowerName %>, results go into redux
Expand Down

0 comments on commit 12ebddf

Please sign in to comment.