mirror of
https://github.com/fullstack-cash/wallet.fullstack.cash.git
synced 2026-09-21 16:52:05 -07:00
Merge pull request #56 from Permissionless-Software-Foundation/dh-integrate-plugin
feat(token): Integrate token-creation plugin into wallet.fullstack.cash
This commit is contained in:
+3
-1
@@ -16,7 +16,9 @@ module.exports = {
|
||||
// }
|
||||
// },
|
||||
// require.resolve('/home/trout/work/psf/gatsby-plugin-bch-sweep')
|
||||
'gatsby-plugin-bch-sweep'
|
||||
'gatsby-plugin-bch-sweep',
|
||||
'gatsby-plugin-bch-create-token'
|
||||
|
||||
],
|
||||
// https://www.gatsbyjs.com/docs/reference/release-notes/v2.28/#feature-flags-in-gatsby-configjs
|
||||
flags: {
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
"@capacitor/cli": "^2.4.6",
|
||||
"@capacitor/core": "^2.4.6",
|
||||
"gatsby": "^4.4.0",
|
||||
"gatsby-plugin-bch-create-token": "^1.1.1",
|
||||
"gatsby-plugin-bch-sweep": "^1.5.5",
|
||||
"gatsby-theme-bch-wallet": "^1.1.2"
|
||||
},
|
||||
|
||||
@@ -16,6 +16,7 @@ import SendReceive from 'gatsby-theme-bch-wallet/src/components/admin-lte/send-r
|
||||
|
||||
import About from '../../about'
|
||||
import Sweep from 'gatsby-plugin-bch-sweep/src/components/sweep/index'
|
||||
import CreateToken from 'gatsby-plugin-bch-create-token/src/components/create-token'
|
||||
|
||||
const { Item } = Sidebar
|
||||
|
||||
@@ -40,7 +41,7 @@ const MenuComponents = props => {
|
||||
{
|
||||
key: 'Sweep',
|
||||
component: <Sweep key='Sweep' {...props} />,
|
||||
menuItem: <Item icon='fas-cog' key='Sweep' text='Sweep' />
|
||||
menuItem: <Item icon='fas-arrow-circle-up' key='Sweep' text='Sweep' />
|
||||
},
|
||||
{
|
||||
key: 'Wallet',
|
||||
@@ -48,6 +49,11 @@ const MenuComponents = props => {
|
||||
// component: <Wallet key="Wallet" interface="consumer-api" {...props} />,
|
||||
menuItem: <Item icon='fa-wallet' key='Wallet' text='Wallet' />
|
||||
},
|
||||
{
|
||||
key: 'Create Token',
|
||||
component: <CreateToken key='Create Token' {...props} />,
|
||||
menuItem: <Item icon='fas-plus-square' key='Create Token' text='Create Token' />
|
||||
},
|
||||
{
|
||||
key: 'Configure',
|
||||
component: <Configure key='Configure' {...props} />,
|
||||
@@ -56,7 +62,7 @@ const MenuComponents = props => {
|
||||
{
|
||||
key: 'About',
|
||||
component: <About key='About' {...props} />,
|
||||
menuItem: <Item icon='fas-cog' key='About' text='About' />
|
||||
menuItem: <Item icon='fas-question' key='About' text='About' />
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user