Trying to eleminate plugins to fix menu

This commit is contained in:
Chris Troutner
2022-02-14 06:50:31 -08:00
parent 58fe707c29
commit bf73958b9b
4 changed files with 392 additions and 17746 deletions
+3 -3
View File
@@ -7,7 +7,7 @@
module.exports = {
/* Your site config here */
plugins: [
'fullstack-gatsby-theme-bch-wallet',
'fullstack-gatsby-theme-bch-wallet'
// 'bch-wallet-plugin-postoffice',
// {
// resolve: 'gatsby-plugin-compile-es6-packages',
@@ -16,8 +16,8 @@ module.exports = {
// }
// },
// require.resolve('/home/trout/work/psf/gatsby-plugin-bch-sweep')
'gatsby-plugin-bch-sweep',
'gatsby-plugin-bch-create-token'
// 'fullstack-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: {
+374 -17726
View File
File diff suppressed because it is too large Load Diff
+1 -3
View File
@@ -25,9 +25,7 @@
"@capacitor/cli": "2.4.6",
"@capacitor/core": "2.4.6",
"gatsby": "4.4.0",
"gatsby-plugin-bch-create-token": "1.1.2",
"gatsby-plugin-bch-sweep": "1.5.6",
"fullstack-gatsby-theme-bch-wallet": "1.0.2"
"fullstack-gatsby-theme-bch-wallet": "1.0.4"
},
"repository": {
"type": "git",
@@ -15,8 +15,8 @@ import Configure from 'fullstack-gatsby-theme-bch-wallet/src/components/admin-lt
import SendReceive from 'fullstack-gatsby-theme-bch-wallet/src/components/admin-lte/send-receive'
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'
// import Sweep from 'fullstack-gatsby-plugin-bch-sweep/src/components/sweep/index'
// import CreateToken from 'gatsby-plugin-bch-create-token/src/components/create-token'
const { Item } = Sidebar
@@ -38,24 +38,24 @@ const MenuComponents = props => {
/>
)
},
{
key: 'Sweep',
component: <Sweep key='Sweep' {...props} />,
menuItem: <Item icon='fas-arrow-circle-up' key='Sweep' text='Sweep' />
},
// {
// key: 'Sweep',
// component: <Sweep key='Sweep' {...props} />,
// menuItem: <Item icon='fas-arrow-circle-up' key='Sweep' text='Sweep' />
// },
{
key: 'Wallet',
component: <Wallet key='Wallet' interface='rest-api' {...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: '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} />,