Skip to content

Commit c8d6d4b

Browse files
author
Einar Löve
authored
Only import app and database from firebase (#16)
1 parent 8e32e8d commit c8d6d4b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/connect.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
import firebase from 'firebase'
2-
import invariant from 'invariant'
31
import { Component, createElement } from 'react'
2+
import invariant from 'invariant'
43
import { isFunction, isPlainObject, isString, keys, pickBy, omitBy, reduce } from 'lodash'
4+
import firebase from 'firebase/app'
5+
import 'firebase/database'
56
import { firebaseAppShape } from './PropTypes'
67
import { applyMethods, getDisplayName } from './utils'
78

0 commit comments

Comments
 (0)