From ecba3ba45d0ff697a7af9d09c23b3a705966a413 Mon Sep 17 00:00:00 2001 From: plubber Date: Thu, 11 Jan 2024 12:49:51 -0500 Subject: [PATCH 01/19] fix: wallet action button recieve page routing --- src/pages/wallet/WalletActionButtons.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/pages/wallet/WalletActionButtons.tsx b/src/pages/wallet/WalletActionButtons.tsx index 86709483b..8307d9c1b 100644 --- a/src/pages/wallet/WalletActionButtons.tsx +++ b/src/pages/wallet/WalletActionButtons.tsx @@ -39,14 +39,11 @@ const WalletActionButtons = ({ denom }: { denom?: Denom }) => { const networkName = useNetworkName() const { pathname } = useLocation() const readNativeDenom = useNativeDenoms() - const token = readNativeDenom(denom ?? "") + const token = readNativeDenom(denom ?? "", pathname.split("/")[2]) const addresses = useInterchainAddresses() const isLedger = useIsLedger() - const address = useMemo(() => { - if (!addresses) return "" - return addresses[token.chainID] - }, [addresses, token]) + const address = useMemo(() => addresses?.[token.chainID], [addresses, token]) const availableGasDenoms = useMemo( () => Object.keys(networks[chainID]?.gasPrices ?? {}), From 28c21dd9a167b4e97dfef4b8c654aa9df03eb9a0 Mon Sep 17 00:00:00 2001 From: plubber Date: Thu, 11 Jan 2024 13:07:40 -0500 Subject: [PATCH 02/19] fix: icon --- public/icon-32.png | Bin 671 -> 1033 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/public/icon-32.png b/public/icon-32.png index 430d60966f953d3777b4a973739f555314d79707..82df406f75adcb5a7348f6f454b7c953f8451ba7 100644 GIT binary patch delta 1022 zcmV1&Iid8Gi-<0047(dh`GQ010qNS#tmY3ljhU3ljkVnw%H_0004VQb$4n zuFf3k00004XF*Lt006O%3;baP000A?Nkl7k-1m>flD&CQ>J$yJcni>0R|7i+!P9`tI8f*yoQYR~D#OMfp-4|?rtK}2Y?sBP2y z>^LuN(#_^)6Pxsdz~;TT@B3!vy_s2n13+w+yp84rbQzO#`KU)JE=?x0qxI$yx`^j< zx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X(!g5BFYlU|UExwpp@3#KMPal4UtvxABOo#udYBnu7H@($wztx=M zd)C?%@5ry3b8PdMo!g2X?T%lUeOTUpesbbvtp(``BFodCOe}uaoa7uUtFBm*Ig<~g2{CL{yGv!W};N0Z=^?m_& z)+}0-FqbW^OK_IP&QF(ggpR&=UHezL;>x2tkB{0-^4veWqW+-Ww49n5$7~<2KEN*F zov(G?>(cvzt4jB?4L_xp-&~T=`<45w|IXC@!+(uq%A}KQ)=6ext}(b%nI3=Xw{kZ- zxBiD)!SjMMcQb# Date: Thu, 11 Jan 2024 14:14:35 -0500 Subject: [PATCH 03/19] fix: tracker margin --- src/pages/activity/ActivityItem.module.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/activity/ActivityItem.module.scss b/src/pages/activity/ActivityItem.module.scss index fc7e57569..5c6446557 100644 --- a/src/pages/activity/ActivityItem.module.scss +++ b/src/pages/activity/ActivityItem.module.scss @@ -23,6 +23,7 @@ .transaction__progress { padding-top: 8px; position: relative; + margin-left: 50px; .transaction__timer { transition: 300ms; From 184a0f5862461fb22b455137ca83d3a63b2aaf81 Mon Sep 17 00:00:00 2001 From: plubber Date: Thu, 11 Jan 2024 14:25:27 -0500 Subject: [PATCH 04/19] Update padding in ActivityItem and Asset modules --- src/pages/activity/ActivityItem.module.scss | 4 ++-- src/pages/wallet/Asset.module.scss | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/activity/ActivityItem.module.scss b/src/pages/activity/ActivityItem.module.scss index fc7e57569..d886fc0d7 100644 --- a/src/pages/activity/ActivityItem.module.scss +++ b/src/pages/activity/ActivityItem.module.scss @@ -1,8 +1,7 @@ @import "mixins"; .activityitems > * { - padding: 8px; - margin: 10px 0px; + padding: 12px; } .activityitem { @@ -23,6 +22,7 @@ .transaction__progress { padding-top: 8px; position: relative; + margin-left: 50px; .transaction__timer { transition: 300ms; diff --git a/src/pages/wallet/Asset.module.scss b/src/pages/wallet/Asset.module.scss index ed94e3473..dc2cdcd09 100644 --- a/src/pages/wallet/Asset.module.scss +++ b/src/pages/wallet/Asset.module.scss @@ -1,7 +1,7 @@ @import "mixins"; .asset { - padding: 10px; + padding: 12px; border-radius: 10px; position: relative; // to loading indicator cursor: pointer; From cf0bfc0a2b348253ec27538cf67d71b34046279d Mon Sep 17 00:00:00 2001 From: plubber Date: Thu, 11 Jan 2024 14:28:59 -0500 Subject: [PATCH 05/19] fix: margin --- src/txs/swap/Swap.module.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/txs/swap/Swap.module.scss b/src/txs/swap/Swap.module.scss index a66415f99..46b5b5939 100644 --- a/src/txs/swap/Swap.module.scss +++ b/src/txs/swap/Swap.module.scss @@ -6,10 +6,9 @@ margin: -20px 0px -20px 65%; } .container { - margin: 10px; display: flex; flex-direction: column; - gap: 15px; + gap: 16px; } .text { From 41722381962324f3ef8e11dc4a397ca596d3127e Mon Sep 17 00:00:00 2001 From: plubber Date: Thu, 11 Jan 2024 14:38:04 -0500 Subject: [PATCH 06/19] fix: vars style fixes --- src/extension/components/ExtensionFooter.tsx | 5 ++--- src/extension/modules/Welcome.tsx | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/extension/components/ExtensionFooter.tsx b/src/extension/components/ExtensionFooter.tsx index 77eb8473f..d7c7eacdd 100644 --- a/src/extension/components/ExtensionFooter.tsx +++ b/src/extension/components/ExtensionFooter.tsx @@ -1,16 +1,15 @@ import { ExternalLink } from "components/general" import styles from "./ExtensionFooter.module.scss" -import { useThemeFavicon } from "data/settings/Theme" import browser from "webextension-polyfill" +import { StationIcon } from "@terra-money/station-ui" export default function ExtensionFooter() { - const icon = useThemeFavicon() const version = browser.runtime?.getManifest?.()?.version return (