From a2b72da6ddb199cc381111f602717e5c66c9bda9 Mon Sep 17 00:00:00 2001 From: Heath Snee Date: Tue, 27 Aug 2024 17:29:26 +1000 Subject: [PATCH] v2.0.48+ext --- apps/extension/package.json | 2 +- .../interaction/home/components/interaction/transaction.tsx | 2 +- .../pages/interaction/home/components/transaction/preview.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/extension/package.json b/apps/extension/package.json index b29798bc0..dbbb9d79e 100644 --- a/apps/extension/package.json +++ b/apps/extension/package.json @@ -1,6 +1,6 @@ { "name": "z3us-extension", - "version": "2.0.47", + "version": "2.0.48", "type": "module", "scripts": { "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist", diff --git a/apps/extension/src/pages/interaction/home/components/interaction/transaction.tsx b/apps/extension/src/pages/interaction/home/components/interaction/transaction.tsx index e3bee5fba..8aa6ccefd 100644 --- a/apps/extension/src/pages/interaction/home/components/interaction/transaction.tsx +++ b/apps/extension/src/pages/interaction/home/components/interaction/transaction.tsx @@ -125,7 +125,7 @@ export const TransactionRequest: React.FC = ({ interaction }) => { draft.error = err.message }) }) - }, [state.trigger]) + }, [buildIntent, state.trigger]) useEffect(() => { if (!state.settings.feePayer && state.meta.needSignaturesFrom.length > 0) { diff --git a/apps/extension/src/pages/interaction/home/components/transaction/preview.tsx b/apps/extension/src/pages/interaction/home/components/transaction/preview.tsx index a3fff1fcc..8a9dd407b 100644 --- a/apps/extension/src/pages/interaction/home/components/transaction/preview.tsx +++ b/apps/extension/src/pages/interaction/home/components/transaction/preview.tsx @@ -345,7 +345,7 @@ export const Preview: React.FC = ({ intent, settings, meta, onSettingsCh }) onStatusChange(newReceipt.status) }) - }, [intent]) + }, [buildPreview, intent]) useEffect(() => { if (!state.isLoading) return