Skip to content

Commit

Permalink
Rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewwalsh0 committed Nov 5, 2024
1 parent e6088ab commit 6cb5c49
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function useSmartTransactionFeatureFlags() {
const { id: transactionId, txParams } = currentConfirmation ?? {};
const isTransaction = Boolean(txParams);

const smartTransactionsEnabled = useSelector(
const smartTransactionsPreferenceEnabled = useSelector(
getSmartTransactionsPreferenceEnabled,
);

Expand All @@ -31,7 +31,7 @@ export function useSmartTransactionFeatureFlags() {
if (
!isTransaction ||
!transactionId ||
!smartTransactionsEnabled ||
!smartTransactionsPreferenceEnabled ||
!currentChainSupportsSmartTransactions
) {
return;
Expand All @@ -47,7 +47,7 @@ export function useSmartTransactionFeatureFlags() {
}, [
isTransaction,
transactionId,
smartTransactionsEnabled,
smartTransactionsPreferenceEnabled,
currentChainSupportsSmartTransactions,
]);
}

0 comments on commit 6cb5c49

Please sign in to comment.