diff --git a/apps/etherscan/src/app/views/ReceiptsView.tsx b/apps/etherscan/src/app/views/ReceiptsView.tsx index 7878e254ec..f1643ac3ad 100644 --- a/apps/etherscan/src/app/views/ReceiptsView.tsx +++ b/apps/etherscan/src/app/views/ReceiptsView.tsx @@ -6,6 +6,7 @@ import { Receipt } from "../types" import { AppContext } from "../AppContext" import { SubmitButton } from "../components" import { Navigate } from "react-router-dom" +import { Button } from "react-bootstrap" interface FormValues { receiptGuid: string @@ -47,7 +48,7 @@ export const ReceiptsView: React.FC = () => { return ( - {({ apiKey, clientInstance, receipts }) => { + {({ apiKey, clientInstance, receipts, setReceipts }) => { if (!apiKey && clientInstance && clientInstance.call) clientInstance.call('notification' as any, 'toast', 'Please add API key to continue') return !apiKey ? ( { /> + ) }