diff --git a/src/components/admin-lte/configure/index.js b/src/components/admin-lte/configure/index.js index c173eed..1e7d2c3 100644 --- a/src/components/admin-lte/configure/index.js +++ b/src/components/admin-lte/configure/index.js @@ -4,6 +4,7 @@ import { Content, Row, Col, Box, Inputs, Button } from 'adminlte-2-react' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' // import BchWallet from 'minimal-slp-wallet' import Servers from './servers' +import { setWalletInfo } from '../../localWallet' const { Text } = Inputs const BchWallet = @@ -66,6 +67,12 @@ class Configure extends React.Component { FullStack.cash
+ @@ -118,6 +125,12 @@ class Configure extends React.Component { ) } + // Clear localstorage info + handleClearLocalStorage () { + setWalletInfo({}) + window.location.reload() + } + componentDidMount () { _this.setJwt() }