Skip to content

Commit e6b8050

Browse files
committed
Dashboard: Migrate engine/relayers page from chakra to tailwind
1 parent 01fd150 commit e6b8050

File tree

7 files changed

+568
-394
lines changed

7 files changed

+568
-394
lines changed

apps/dashboard/src/@/components/blocks/wallet-address.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ export function WalletAddress(props: {
2323
className?: string;
2424
iconClassName?: string;
2525
client: ThirdwebClient;
26-
preventOpenOnFocus?: boolean;
2726
}) {
2827
// default back to zero address if no address provided
2928
const address = useMemo(() => props.address || ZERO_ADDRESS, [props.address]);
@@ -68,10 +67,7 @@ export function WalletAddress(props: {
6867

6968
return (
7069
<HoverCard>
71-
<HoverCardTrigger
72-
asChild
73-
tabIndex={props.preventOpenOnFocus ? -1 : undefined}
74-
>
70+
<HoverCardTrigger asChild tabIndex={-1}>
7571
<Button
7672
className={cn(
7773
"flex flex-row items-center gap-2 px-0",

apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/public-pages/nft/token-viewer/token-viewer.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ function TokenInfoUI(props: {
269269
className="h-auto py-0 text-sm"
270270
client={props.contract.client}
271271
iconClassName="hidden"
272-
preventOpenOnFocus
273272
/>
274273
</div>
275274
) : (

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/engine/dedicated/(instance)/[engineId]/overview/components/backend-wallets-table.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,6 @@ function EditModalContent({
404404
<WalletAddress
405405
address={backendWallet.address}
406406
client={client}
407-
preventOpenOnFocus
408407
iconClassName="size-4"
409408
className="h-auto py-0"
410409
/>
@@ -609,7 +608,6 @@ const SendFundsModal = ({
609608
address={fromWallet.address}
610609
client={client}
611610
iconClassName="size-4"
612-
preventOpenOnFocus
613611
className="h-auto py-0"
614612
/>
615613
</div>
@@ -802,7 +800,6 @@ function DeleteModal({
802800
<WalletAddress
803801
address={backendWallet.address}
804802
client={client}
805-
preventOpenOnFocus
806803
iconClassName="size-4"
807804
className="h-auto py-1"
808805
/>

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/engine/dedicated/(instance)/[engineId]/overview/components/transaction-timeline.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,6 @@ function CancelTransactionButton({
278278
shortenAddress={false}
279279
className="h-auto py-1"
280280
iconClassName="size-4"
281-
preventOpenOnFocus
282281
/>
283282
</div>
284283

0 commit comments

Comments
 (0)