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