From 7db5d9ae4b89a2ea63647594f92e8f9fbaa8fa9d Mon Sep 17 00:00:00 2001 From: DMY <147dmy@gmail.com> Date: Fri, 22 Sep 2023 15:40:21 +0800 Subject: [PATCH 1/2] feat: clear address input --- src/ui/views/AddressManagement/SortInput.tsx | 3 ++- src/ui/views/AddressManagement/style.less | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/ui/views/AddressManagement/SortInput.tsx b/src/ui/views/AddressManagement/SortInput.tsx index 56067fa8e78..ac0a86bea1e 100644 --- a/src/ui/views/AddressManagement/SortInput.tsx +++ b/src/ui/views/AddressManagement/SortInput.tsx @@ -10,6 +10,7 @@ import { ReactComponent as IconSortByUsd } from '@/ui/assets/address/sort-by-usd import { ReactComponent as IconSortByType } from '@/ui/assets/address/sort-by-type.svg'; import { ReactComponent as IconSortByAlphabet } from '@/ui/assets/address/sort-by-alphabet.svg'; import { AddressSortStore } from '@/background/service/preference'; +import clsx from 'clsx'; export const AddressSortIconMapping: Record< AddressSortStore['sortType'], @@ -40,7 +41,7 @@ export const SortInput = ({ return ( <> -