mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
imported path
This commit is contained in:
parent
5d1679d00a
commit
71b70ea014
@ -1,5 +1,9 @@
|
||||
import React, { Component } from 'react'
|
||||
import Gun from 'gun'
|
||||
import path from 'gun/lib/path'
|
||||
// var path = require('gun/lib/path.js')
|
||||
|
||||
// console.log(path)
|
||||
|
||||
const formatMsgs = msgs => Object.keys(msgs)
|
||||
.map(key => ({ key, ...msgs[key] }))
|
||||
|
@ -1,5 +1,6 @@
|
||||
import React, { Component } from 'react'
|
||||
import Gun from 'gun'
|
||||
import path from 'gun/lib/path'
|
||||
import './style.css'
|
||||
|
||||
const formatTodos = todos => Object.keys(todos)
|
||||
|
Loading…
x
Reference in New Issue
Block a user