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:
Chris Troutner
2022-01-20 05:29:44 -08:00
committed by GitHub
3 changed files with 12 additions and 3 deletions
+3 -1
View File
@@ -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: {
+1
View File
@@ -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' />
}
]
}