From e926da127e106b436f19b716adede79dc92dd918 Mon Sep 17 00:00:00 2001 From: antoncoding Date: Sun, 28 Dec 2025 11:31:28 +0800 Subject: [PATCH 1/2] hotfix: filter --- .../common/table-container-with-header.tsx | 7 +- src/components/status/empty-screen.tsx | 4 +- .../components/filters/asset-filter.tsx | 2 +- .../components/filters/network-filter.tsx | 77 +++++++++++-------- .../components/table/markets-table.tsx | 2 +- 5 files changed, 54 insertions(+), 38 deletions(-) diff --git a/src/components/common/table-container-with-header.tsx b/src/components/common/table-container-with-header.tsx index e976f029..9b7de329 100644 --- a/src/components/common/table-container-with-header.tsx +++ b/src/components/common/table-container-with-header.tsx @@ -3,7 +3,6 @@ type TableContainerWithHeaderProps = { actions?: React.ReactNode; children: React.ReactNode; className?: string; - noPadding?: boolean; }; /** @@ -30,14 +29,16 @@ type TableContainerWithHeaderProps = { * ...
* */ -export function TableContainerWithHeader({ title, actions, children, className = '', noPadding = false }: TableContainerWithHeaderProps) { +export function TableContainerWithHeader({ title, actions, children, className = '' }: TableContainerWithHeaderProps) { + console.log('no padding markets'); + return (

{title}

{actions &&
{actions}
}
-
{children}
+
{children}
); } diff --git a/src/components/status/empty-screen.tsx b/src/components/status/empty-screen.tsx index 2a51cbec..4b69163e 100644 --- a/src/components/status/empty-screen.tsx +++ b/src/components/status/empty-screen.tsx @@ -9,9 +9,7 @@ type EmptyScreenProps = { export default function EmptyScreen({ message = 'No data', hint, className }: EmptyScreenProps) { return ( -
+
Logo
+
+
); diff --git a/src/features/markets/components/table/markets-table.tsx b/src/features/markets/components/table/markets-table.tsx index e2475ad1..8bf2ff98 100644 --- a/src/features/markets/components/table/markets-table.tsx +++ b/src/features/markets/components/table/markets-table.tsx @@ -198,7 +198,6 @@ function MarketsTable({ {loading ? ( @@ -214,6 +213,7 @@ function MarketsTable({ ) : ( From 54f522550e540acef2332bfb3b8763a1bba2cff6 Mon Sep 17 00:00:00 2001 From: antoncoding Date: Sun, 28 Dec 2025 11:32:21 +0800 Subject: [PATCH 2/2] chore: cleanup --- src/components/common/table-container-with-header.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/common/table-container-with-header.tsx b/src/components/common/table-container-with-header.tsx index 9b7de329..31034cdf 100644 --- a/src/components/common/table-container-with-header.tsx +++ b/src/components/common/table-container-with-header.tsx @@ -30,8 +30,6 @@ type TableContainerWithHeaderProps = { * */ export function TableContainerWithHeader({ title, actions, children, className = '' }: TableContainerWithHeaderProps) { - console.log('no padding markets'); - return (