import * as firebase from 'firebase'
import config from '../firebaseConfig'
// import { bindActionCreators } from 'redux'

export const initialize = firebase.initializeApp(config)

export const database = firebase.database()

export const auth = firebase.auth()

export const ref = database.ref()

import * as firebase from 'firebase'
import config from '../firebaseConfig'

export const initialize = firebase.initializeApp(config)

export const database = firebase.database()

export const auth = firebase.auth()

export const ref = database.ref()

Update firebase.js