From 66cdf6e041b44ef2abc99b47e4c5c4570dd1a3f4 Mon Sep 17 00:00:00 2001 From: John Williamson Date: Sat, 2 Dec 2017 16:31:13 +1000 Subject: [PATCH] used proper gun/gun import --- examples/react/src/App.js | 2 +- examples/react/src/Chat.js | 3 +-- examples/react/src/Todos.js | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) 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'