diff --git a/_raw/locales/en/messages.json b/_raw/locales/en/messages.json index 5aadf794767..63a299e4735 100644 --- a/_raw/locales/en/messages.json +++ b/_raw/locales/en/messages.json @@ -1116,7 +1116,7 @@ }, "TestnetAssetListContainer": { "add": "Token", - "addTestnet": "Testnet" + "addTestnet": "Network" }, "noTestnetAssets": "No Custom Network Assets" }, diff --git a/src/ui/component/PillsSwitch/NetSwitchTabs.tsx b/src/ui/component/PillsSwitch/NetSwitchTabs.tsx index 90c82d43d58..2784f2f7d3a 100644 --- a/src/ui/component/PillsSwitch/NetSwitchTabs.tsx +++ b/src/ui/component/PillsSwitch/NetSwitchTabs.tsx @@ -65,7 +65,7 @@ export default function NetSwitchTabs(props: SwitchTabProps) { return ( {!chain ? ( -
+
{t('page.dashboard.assets.AddTestnetToken.selectChain')}
@@ -221,7 +228,14 @@ export const AddCustomTestnetTokenPopup = ({
) : ( -
+
= ({ ); if (!isFetched && !search) { - return ; + return ; } const isNoResults = !list?.length; @@ -117,7 +117,7 @@ export const CustomTestnetAssetListContainer: React.FC = ({
{ setIsShowAddTestnetModal(true); @@ -141,7 +141,7 @@ export const CustomTestnetAssetListContainer: React.FC = ({
{ setIsShowAddModal(true); diff --git a/src/ui/views/CommonPopup/AssetList/TokenListViewSkeleton.tsx b/src/ui/views/CommonPopup/AssetList/TokenListViewSkeleton.tsx index 163bd78626c..0b83d6c998d 100644 --- a/src/ui/views/CommonPopup/AssetList/TokenListViewSkeleton.tsx +++ b/src/ui/views/CommonPopup/AssetList/TokenListViewSkeleton.tsx @@ -46,18 +46,33 @@ export const TokenListSkeleton = () => { ); }; -export const TokenListViewSkeleton: React.FC = () => { +export const TokenListViewSkeleton: React.FC<{ + isTestnet?: boolean; +}> = ({ isTestnet }) => { return (
-
+
- + {isTestnet ? ( +
+ + +
+ ) : ( + + )}
diff --git a/src/ui/views/NFTView/index.tsx b/src/ui/views/NFTView/index.tsx index 54725bded69..109f18f318f 100644 --- a/src/ui/views/NFTView/index.tsx +++ b/src/ui/views/NFTView/index.tsx @@ -19,11 +19,11 @@ const TabsStyled = styled(Tabs)` .ant-tabs-tab { border-radius: 4px; color: var(--r-neutral-body, #3e495e); - font-size: 13px; + font-size: 12px; transition: all 0.3s ease-in-out; margin: 0 !important; width: 100px; - height: 24px; + height: 28px; font-weight: 500; padding: 0; text-align: center;