Fix firefox popup

This commit is contained in:
armaniferrante 2021-03-17 13:37:26 -07:00
parent efbb932222
commit 324b98d6ed
No known key found for this signature in database
GPG Key ID: 58BEF301E91F7828
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import React, { useEffect, useMemo, useRef, useState } from 'react';
import React, { useEffect, useMemo, useState } from 'react';
import bs58 from 'bs58';
import { Divider, Typography } from '@material-ui/core';
import CardContent from '@material-ui/core/CardContent';
@ -120,6 +120,7 @@ export default function SignTransactionFormContent({
messages,
onApprove,
autoApprove,
buttonRef,
}) {
const explorerUrlSuffix = useSolanaExplorerUrlSuffix();
const connection = useConnection();
@ -130,7 +131,6 @@ export default function SignTransactionFormContent({
// An array of arrays, where each element is the set of instructions for a
// single transaction.
const [txInstructions, setTxInstructions] = useState(null);
const buttonRef = useRef();
const isMultiTx = messages.length > 1;