From a925aea1d7340691e07b0695d7391ac91cfdce3c Mon Sep 17 00:00:00 2001 From: Linguists <95207870+linguists@users.noreply.github.com> Date: Wed, 12 Apr 2023 22:39:44 +0800 Subject: [PATCH] fix: linear logo position --- src/Stake.jsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/Stake.jsx b/src/Stake.jsx index 8df2c1a..b247ca0 100644 --- a/src/Stake.jsx +++ b/src/Stake.jsx @@ -269,7 +269,7 @@ const BrandImage = () => ( width: "auto", position: "absolute", left: "32px", - top: "20px", + top: "44px", }} src="https://ipfs.near.social/ipfs/bafkreifb45onycd5nycpvt6vboe54zc5c4lynjg5xare4i2tqblwlkogoq" alt="Brand Logo" @@ -299,7 +299,7 @@ return ( State.update({ inputError: "Sign in please", }); - return ; + return; } const targetValue = e.target.value; if (targetValue !== "" && !targetValue.match(/^\d*(\.\d*)?$/)) { @@ -395,9 +395,7 @@ return ( "deposit_and_stake", {}, undefined, - Big(state.inputValue) - .mul(Big(10).pow(NEAR_DECIMALS)) - .toFixed(0) + Big(state.inputValue).mul(Big(10).pow(NEAR_DECIMALS)).toFixed(0) ); // check and update balance const interval = setInterval(() => {