diff --git a/examples/react/src/App.js b/examples/react/src/App.js index 083740f6..f79370ac 100644 --- a/examples/react/src/App.js +++ b/examples/react/src/App.js @@ -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' diff --git a/examples/react/src/Chat.js b/examples/react/src/Chat.js index 59c4a668..9a1201c4 100644 --- a/examples/react/src/Chat.js +++ b/examples/react/src/Chat.js @@ -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] })) diff --git a/examples/react/src/Todos.js b/examples/react/src/Todos.js index 9d4ac45d..7f965226 100644 --- a/examples/react/src/Todos.js +++ b/examples/react/src/Todos.js @@ -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'