From a799cb59b2a9b5ebb605fdbcd695428008803f23 Mon Sep 17 00:00:00 2001 From: Tudor Morar Date: Wed, 19 Feb 2025 10:09:12 +0200 Subject: [PATCH] Refactor AcconutType --- src/lib/sdkDapp/sdkDapp.types.ts | 1 + src/pages/Dashboard/widgets/Account/components/Username.tsx | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/sdkDapp/sdkDapp.types.ts b/src/lib/sdkDapp/sdkDapp.types.ts index 6e3de90f..8fb27cc2 100644 --- a/src/lib/sdkDapp/sdkDapp.types.ts +++ b/src/lib/sdkDapp/sdkDapp.types.ts @@ -1,3 +1,4 @@ +export type { AccountType } from '@multiversx/sdk-dapp/types/account.types'; export { EnvironmentsEnum, LoginMethodsEnum, diff --git a/src/pages/Dashboard/widgets/Account/components/Username.tsx b/src/pages/Dashboard/widgets/Account/components/Username.tsx index b96b9f87..cdf1b48e 100644 --- a/src/pages/Dashboard/widgets/Account/components/Username.tsx +++ b/src/pages/Dashboard/widgets/Account/components/Username.tsx @@ -1,6 +1,5 @@ -import { AccountType } from '@multiversx/sdk-dapp/types'; import { Label } from 'components'; -import { trimUsernameDomain } from 'lib'; +import { AccountType, trimUsernameDomain } from 'lib'; import { DataTestIdsEnum } from 'localConstants'; import { ProfileType } from 'types';