used proper gun/gun import

This commit is contained in:
John Williamson 2017-12-02 16:31:13 +10:00
parent 662681e7d1
commit 66cdf6e041
3 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,5 @@
import React, { Component } from 'react'
import Gun from 'gun'
import Gun from 'gun/gun'
import Todos from './Todos'
import Chat from './Chat'
import Json from './Json'

View File

@ -1,6 +1,5 @@
import React, { Component } from 'react'
import Gun from 'gun'
import path from 'gun/lib/path'
import Gun from 'gun/gun'
const formatMsgs = msgs => Object.keys(msgs)
.map(key => ({ key, ...msgs[key] }))

View File

@ -1,5 +1,5 @@
import React, { Component } from 'react'
import Gun from 'gun'
import Gun from 'gun/gun'
import path from 'gun/lib/path'
import './style.css'