feat(sweep): Adding token sweeping to wallet

This commit is contained in:
Chris Troutner
2020-09-25 07:01:25 -07:00
parent 5a727221e1
commit e44af92f12
5 changed files with 21 additions and 1 deletions
@@ -9,10 +9,17 @@
import React from 'react'
import { Sidebar } from 'adminlte-2-react'
import About from '../../about'
import Sweep from 'gatsby-plugin-bch-sweep/src/components/sweep'
const { Item } = Sidebar
const MenuComponents = [
{
key: 'Sweep',
// component: <><p>test</p></>,
component: <Sweep key='Sweep' />,
menuItem: <Item icon='fas-cog' key='Sweep' text='Sweep' />
},
{
key: 'About',
component: <About />,
+3
View File
@@ -18,6 +18,9 @@ export default function HTML (props) {
{/* minimal-slp-wallet-web */}
<script src='https://unpkg.com/minimal-slp-wallet-web' />
{/* bch-token-sweep */}
<script src='https://unpkg.com/bch-token-sweep' />
{props.headComponents}
</head>
<body {...props.bodyAttributes}>