diff --git a/packages/react-sdk/src/components/ScheduledTransactionList.tsx b/packages/react-sdk/src/components/ScheduledTransactionList.tsx index 1c5534a7c..2d3c95fee 100644 --- a/packages/react-sdk/src/components/ScheduledTransactionList.tsx +++ b/packages/react-sdk/src/components/ScheduledTransactionList.tsx @@ -14,6 +14,7 @@ import {TrashIcon} from "../icons/TrashIcon" import {FlowIcon} from "../icons/FlowIcon" import {ExternalLinkIcon} from "../icons/ExternalLink" import {twMerge} from "tailwind-merge" +import {useTheme} from "../core/theme" import {useFlowQueryClient} from "@onflow/react-core" import {useFlowChainId} from "@onflow/react-core" import {getFlowscanScheduledTxUrl} from "@onflow/react-core" @@ -104,6 +105,7 @@ const ScheduledTransactionCard: React.FC = ({ onCancelSuccess, className, }) => { + const {colors} = useTheme() const {cancelTransactionAsync, isPending} = useFlowScheduledTransactionCancel() const {data: chainId} = useFlowChainId() @@ -128,8 +130,9 @@ const ScheduledTransactionCard: React.FC = ({
= ({
{metadata.thumbnail && (
= ({

{metadata.name || "Scheduled Transaction"}

#{transaction.id.slice(0, 8)} @@ -168,8 +178,10 @@ const ScheduledTransactionCard: React.FC = ({ {metadata.description && (

{metadata.description} @@ -177,8 +189,11 @@ const ScheduledTransactionCard: React.FC = ({ )}

= ({