diff --git a/next.config.mjs b/next.config.mjs index 2f31e44c5..3b50c1b8b 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -23,7 +23,7 @@ const babelIncludeRegexes = [ * @type {import('next').NextConfig} * */ const nextConfig = { - reactStrictMode: process.env.NODE_ENV !== 'development', + reactStrictMode: true, compiler: { styledComponents: true, }, diff --git a/src/components/@molecules/TransactionDialogManager/stage/TransactionStageModal.tsx b/src/components/@molecules/TransactionDialogManager/stage/TransactionStageModal.tsx index 704ab7cff..d76b227f8 100644 --- a/src/components/@molecules/TransactionDialogManager/stage/TransactionStageModal.tsx +++ b/src/components/@molecules/TransactionDialogManager/stage/TransactionStageModal.tsx @@ -479,9 +479,12 @@ export const TransactionStageModal = ({ } onClick={() => { sendTransaction(request!) - trackRegistrationEvent( - actionName === 'commitName' ? 'Commit Wallet Opened' : 'Finish Wallet Opened', - ) + + if (['commitName', 'registerName'].includes(actionName)) { + trackRegistrationEvent( + actionName === 'commitName' ? 'Commit Wallet Opened' : 'Finish Wallet Opened', + ) + } }} data-testid="transaction-modal-confirm-button" >