diff --git a/gatsby-config.js b/gatsby-config.js index ae77587..0556295 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -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: { diff --git a/package.json b/package.json index 211c95c..8e80294 100644 --- a/package.json +++ b/package.json @@ -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" }, diff --git a/src/gatsby-theme-bch-wallet/components/menu-components.js b/src/gatsby-theme-bch-wallet/components/menu-components.js index 1edaa16..88b2ea1 100644 --- a/src/gatsby-theme-bch-wallet/components/menu-components.js +++ b/src/gatsby-theme-bch-wallet/components/menu-components.js @@ -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: , - menuItem: + menuItem: }, { key: 'Wallet', @@ -48,6 +49,11 @@ const MenuComponents = props => { // component: , menuItem: }, + { + key: 'Create Token', + component: , + menuItem: + }, { key: 'Configure', component: , @@ -56,7 +62,7 @@ const MenuComponents = props => { { key: 'About', component: , - menuItem: + menuItem: } ] }