diff --git a/src/components/tx-flow/flows/SuccessScreen/index.tsx b/src/components/tx-flow/flows/SuccessScreen/index.tsx index 6ee5b332c6..d94e0782be 100644 --- a/src/components/tx-flow/flows/SuccessScreen/index.tsx +++ b/src/components/tx-flow/flows/SuccessScreen/index.tsx @@ -39,7 +39,7 @@ export const SuccessScreen = ({ txId }: { txId: string }) => { return () => unsubFns.forEach((unsubscribe) => unsubscribe()) }, [txId]) - const onFinishClick = useCallback(() => { + const onClose = useCallback(() => { setTxFlow(undefined) }, [setTxFlow]) @@ -71,13 +71,13 @@ export const SuccessScreen = ({ txId }: { txId: string }) => {