mirror of
https://github.com/fullstack-cash/wallet.fullstack.cash.git
synced 2026-09-21 16:52:05 -07:00
linting
This commit is contained in:
+2
-2
@@ -7,7 +7,7 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
/* Your site config here */
|
/* Your site config here */
|
||||||
plugins: [
|
plugins: [
|
||||||
"fullstack-gatsby-theme-bch-wallet",
|
'fullstack-gatsby-theme-bch-wallet',
|
||||||
// 'bch-wallet-plugin-postoffice',
|
// 'bch-wallet-plugin-postoffice',
|
||||||
// {
|
// {
|
||||||
// resolve: 'gatsby-plugin-compile-es6-packages',
|
// resolve: 'gatsby-plugin-compile-es6-packages',
|
||||||
@@ -16,7 +16,7 @@ module.exports = {
|
|||||||
// }
|
// }
|
||||||
// },
|
// },
|
||||||
// require.resolve('/home/trout/work/psf/gatsby-plugin-bch-sweep')
|
// require.resolve('/home/trout/work/psf/gatsby-plugin-bch-sweep')
|
||||||
"fullstack-gatsby-plugin-bch-sweep"
|
'fullstack-gatsby-plugin-bch-sweep'
|
||||||
// 'gatsby-plugin-bch-create-token'
|
// 'gatsby-plugin-bch-create-token'
|
||||||
],
|
],
|
||||||
// https://www.gatsbyjs.com/docs/reference/release-notes/v2.28/#feature-flags-in-gatsby-configjs
|
// https://www.gatsbyjs.com/docs/reference/release-notes/v2.28/#feature-flags-in-gatsby-configjs
|
||||||
|
|||||||
@@ -6,16 +6,16 @@
|
|||||||
It over-rides he default file in the gatsby-ipfs-web-wallet Theme.
|
It over-rides he default file in the gatsby-ipfs-web-wallet Theme.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import React from "react"
|
import React from 'react'
|
||||||
import { Sidebar } from "adminlte-2-react"
|
import { Sidebar } from 'adminlte-2-react'
|
||||||
|
|
||||||
import Wallet from "fullstack-gatsby-theme-bch-wallet/src/components/admin-lte/wallet"
|
import Wallet from 'fullstack-gatsby-theme-bch-wallet/src/components/admin-lte/wallet'
|
||||||
import Tokens from "fullstack-gatsby-theme-bch-wallet/src/components/admin-lte/tokens"
|
import Tokens from 'fullstack-gatsby-theme-bch-wallet/src/components/admin-lte/tokens'
|
||||||
import Configure from "fullstack-gatsby-theme-bch-wallet/src/components/admin-lte/configure"
|
import Configure from 'fullstack-gatsby-theme-bch-wallet/src/components/admin-lte/configure'
|
||||||
import SendReceive from "fullstack-gatsby-theme-bch-wallet/src/components/admin-lte/send-receive"
|
import SendReceive from 'fullstack-gatsby-theme-bch-wallet/src/components/admin-lte/send-receive'
|
||||||
|
|
||||||
import About from "../../about"
|
import About from '../../about'
|
||||||
import Sweep from "fullstack-gatsby-plugin-bch-sweep/src/components/sweep/index"
|
import Sweep from 'fullstack-gatsby-plugin-bch-sweep/src/components/sweep/index'
|
||||||
// import CreateToken from 'gatsby-plugin-bch-create-token/src/components/create-token'
|
// import CreateToken from 'gatsby-plugin-bch-create-token/src/components/create-token'
|
||||||
|
|
||||||
const { Item } = Sidebar
|
const { Item } = Sidebar
|
||||||
@@ -23,31 +23,31 @@ const { Item } = Sidebar
|
|||||||
const MenuComponents = props => {
|
const MenuComponents = props => {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
key: "Tokens",
|
key: 'Tokens',
|
||||||
component: <Tokens key="Tokens" {...props} />,
|
component: <Tokens key='Tokens' {...props} />,
|
||||||
menuItem: <Item icon="fas-coins" key="Tokens" text="Tokens" />
|
menuItem: <Item icon='fas-coins' key='Tokens' text='Tokens' />
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "Send/Receive BCH",
|
key: 'Send/Receive BCH',
|
||||||
component: <SendReceive key="Send/Receive BCH" {...props} />,
|
component: <SendReceive key='Send/Receive BCH' {...props} />,
|
||||||
menuItem: (
|
menuItem: (
|
||||||
<Item
|
<Item
|
||||||
icon="fa-exchange-alt"
|
icon='fa-exchange-alt'
|
||||||
key="Send/Receive BCH"
|
key='Send/Receive BCH'
|
||||||
text="Send/Receive BCH"
|
text='Send/Receive BCH'
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "Sweep",
|
key: 'Sweep',
|
||||||
component: <Sweep key="Sweep" {...props} />,
|
component: <Sweep key='Sweep' {...props} />,
|
||||||
menuItem: <Item icon="fas-arrow-circle-up" key="Sweep" text="Sweep" />
|
menuItem: <Item icon='fas-arrow-circle-up' key='Sweep' text='Sweep' />
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "Wallet",
|
key: 'Wallet',
|
||||||
component: <Wallet key="Wallet" interface="rest-api" {...props} />,
|
component: <Wallet key='Wallet' interface='rest-api' {...props} />,
|
||||||
// component: <Wallet key="Wallet" interface="consumer-api" {...props} />,
|
// component: <Wallet key="Wallet" interface="consumer-api" {...props} />,
|
||||||
menuItem: <Item icon="fa-wallet" key="Wallet" text="Wallet" />
|
menuItem: <Item icon='fa-wallet' key='Wallet' text='Wallet' />
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
// key: 'Create Token',
|
// key: 'Create Token',
|
||||||
@@ -57,14 +57,14 @@ const MenuComponents = props => {
|
|||||||
// )
|
// )
|
||||||
// },
|
// },
|
||||||
{
|
{
|
||||||
key: "Configure",
|
key: 'Configure',
|
||||||
component: <Configure key="Configure" {...props} />,
|
component: <Configure key='Configure' {...props} />,
|
||||||
menuItem: <Item icon="fas-cog" key="Configure" text="Configure" />
|
menuItem: <Item icon='fas-cog' key='Configure' text='Configure' />
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "About",
|
key: 'About',
|
||||||
component: <About key="About" {...props} />,
|
component: <About key='About' {...props} />,
|
||||||
menuItem: <Item icon="fas-question" key="About" text="About" />
|
menuItem: <Item icon='fas-question' key='About' text='About' />
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user