@@ -20,14 +20,12 @@ import TabButton from "@/components/buttons/TabButton";
20
20
import RecentTransaction from "@/components/common/RecentTransaction" ;
21
21
import { useConnectWalletDialogStateStore } from "@/components/dialogs/stores/useConnectWalletStore" ;
22
22
import { wallets } from "@/config/wallets" ;
23
- import { copyToClipboard } from "@/functions/copyToClipboard" ;
24
23
import { formatFloat } from "@/functions/formatFloat" ;
25
24
import getExplorerLink , { ExplorerLinkType } from "@/functions/getExplorerLink" ;
26
25
import truncateMiddle from "@/functions/truncateMiddle" ;
27
26
import useCurrentChainId from "@/hooks/useCurrentChainId" ;
28
27
import useTokenBalances from "@/hooks/useTokenBalances" ;
29
28
import { useTokens } from "@/hooks/useTokenLists" ;
30
- import addToast from "@/other/toast" ;
31
29
import { Currency } from "@/sdk_hybrid/entities/currency" ;
32
30
import { Standard } from "@/sdk_hybrid/standard" ;
33
31
import { usePinnedTokensStore } from "@/stores/usePinnedTokensStore" ;
@@ -125,7 +123,7 @@ function AccountDialogContent({ setIsOpenedAccount, activeTab, setActiveTab }: a
125
123
const { connector } = useAccount ( ) ;
126
124
127
125
const tokens = useTokens ( ) ;
128
- const { tokens : pinnedTokensAddresses , toggleToken } = usePinnedTokensStore ( ) ;
126
+ const { tokens : pinnedTokensAddresses } = usePinnedTokensStore ( ) ;
129
127
130
128
const pinnedTokens = useMemo ( ( ) => {
131
129
const lookupMap : Map < "native" | Address , Currency > = new Map (
@@ -227,8 +225,25 @@ function AccountDialogContent({ setIsOpenedAccount, activeTab, setActiveTab }: a
227
225
</ ScrollbarContainer >
228
226
</ div >
229
227
) : (
230
- < div className = "flex flex-col items-center justify-center h-[376px] overflow-auto gap-2 bg-empty-no-tokens bg-no-repeat bg-right-top -mx-4 card-spacing-x sm:-mx-6 lg:-mx-10 -mt-3 pt-3 max-md:bg-size-180" >
231
- < span className = "text-secondary-text" > { t ( "assets_will_be_displayed_here" ) } </ span >
228
+ < div className = "flex flex-col justify-center h-[376px] overflow-auto gap-2 bg-empty-no-pinned-tokens bg-no-repeat bg-right-top -mx-4 card-spacing-x sm:-mx-6 lg:-mx-10 -mt-3 pt-3 max-md:bg-size-180" >
229
+ < button className = "h-12 items-center w-full duration-200 text-secondary-text mb-3 bg-tertiary-bg flex justify-between rounded-2 border-l-4 border-green pl-4 pr-3 hocus:bg-green-bg hocus:text-primary-text group" >
230
+ < span className = "flex items-center gap-2" >
231
+ < Svg
232
+ className = "text-tertiary-text group-hocus:text-green duration-200 "
233
+ iconName = "pin-fill"
234
+ />
235
+ Manage pinned tokens
236
+ </ span >
237
+ < div className = "relative before:opacity-0 before:duration-200 group-hocus:before:opacity-40 before:absolute before:w-4 before:h-4 before:rounded-full before:bg-green-hover-icon before:blur-[8px] before:left-1/2 before:top-1/2 before:-translate-x-1/2 before:-translate-y-1/2" >
238
+ < Svg
239
+ className = "text-tertiary-text group-hocus:text-green-hover-icon duration-200 "
240
+ iconName = "next"
241
+ />
242
+ </ div >
243
+ </ button >
244
+ < div className = "flex-grow flex items-center justify-center" >
245
+ < span className = "text-secondary-text" > { t ( "assets_will_be_displayed_here" ) } </ span >
246
+ </ div >
232
247
</ div >
233
248
) }
234
249
</ >
0 commit comments