Skip to content

Commit

Permalink
fix wallet.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
azf20 committed Aug 2, 2021
1 parent c2abde8 commit edfb91a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-app/src/components/Wallet.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default function Wallet(props) {
const [toAddress, setToAddress] = useState();
const [pk, setPK] = useState();

const providerSend = props.provider ? (
const providerSend = props.signer ? (
<Tooltip title="Wallet">
<WalletOutlined
onClick={() => {
Expand Down Expand Up @@ -320,7 +320,7 @@ export default function Wallet(props) {
disabled={!amount || !toAddress || qr}
loading={false}
onClick={() => {
const tx = Transactor(props.provider);
const tx = Transactor(props.signer);

let value;
try {
Expand Down

0 comments on commit edfb91a

Please sign in to comment.