diff --git a/apps/minifront/src/components/send/send-form/index.tsx b/apps/minifront/src/components/send/send-form/index.tsx index 4182bf4326..586a30318b 100644 --- a/apps/minifront/src/components/send/send-form/index.tsx +++ b/apps/minifront/src/components/send/send-form/index.tsx @@ -34,7 +34,7 @@ export const SendForm = () => { txInProgress, } = useStore(sendSelector); // State to manage privacy warning display - const [showNonNativeFeeWarning, setshowNonNativeFeeWarning] = useState(false); + const [showNonNativeFeeWarning, setShowNonNativeFeeWarning] = useState(false); // Check if the user has native staking tokens const stakingToken = hasStakingToken( @@ -81,7 +81,7 @@ export const SendForm = () => { if (Number(amount) < 0) return; setAmount(amount); // Conditionally prompt a privacy warning about non-native fee tokens - setshowNonNativeFeeWarning(Number(amount) > 0 && !stakingToken); + setShowNonNativeFeeWarning(Number(amount) > 0 && !stakingToken); }} validations={[ { diff --git a/apps/minifront/src/components/swap/swap-form/token-swap-input.tsx b/apps/minifront/src/components/swap/swap-form/token-swap-input.tsx index b40f58bff7..50692128c1 100644 --- a/apps/minifront/src/components/swap/swap-form/token-swap-input.tsx +++ b/apps/minifront/src/components/swap/swap-form/token-swap-input.tsx @@ -90,7 +90,7 @@ export const TokenSwapInput = () => { hasStakingTokenMeta, } = useStoreShallow(tokenSwapInputSelector); // State to manage privacy warning display - const [showNonNativeFeeWarning, setshowNonNativeFeeWarning] = useState(false); + const [showNonNativeFeeWarning, setShowNonNativeFeeWarning] = useState(false); // Check if the user has native staking tokens const stakingToken = hasStakingToken(balancesResponses, hasStakingTokenMeta); @@ -131,7 +131,7 @@ export const TokenSwapInput = () => { onChange={e => { if (!isValidAmount(e.target.value, assetIn)) return; setAmount(e.target.value); - setshowNonNativeFeeWarning(Number(e.target.value) > 0 && !stakingToken); + setShowNonNativeFeeWarning(Number(e.target.value) > 0 && !stakingToken); }} />