Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,12 @@ function CreateVaultAccountStep(props: {
/>
<Button asChild variant="outline">
<Link
href="https://portal.thirdweb.com/engine/vault"
href="https://portal.thirdweb.com/vault"
rel="noopener noreferrer"
target="_blank"
></Link>
>
Learn more about Vault
</Link>
</Button>
</div>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,41 +102,39 @@ export function ServerWalletsTableUI({
</TableRow>
</TableHeader>
<TableBody>
{wallets.length === 0 ? (
<TableRow>
<TableCell className="text-center" colSpan={3}>
No server wallets found
{wallets.map((wallet) => (
<TableRow className="hover:bg-accent/50" key={wallet.id}>
<TableCell>
{showSigners ? (
<WalletAddress address={wallet.address} client={client} />
) : (
<SmartAccountCell client={client} wallet={wallet} />
)}
</TableCell>
<TableCell>{wallet.metadata.label || "none"}</TableCell>
<TableCell className="text-right">
<WalletDateCell date={wallet.createdAt} />
</TableCell>
<TableCell className="text-right">
<WalletDateCell date={wallet.updatedAt} />
</TableCell>
<TableCell className="flex justify-end">
<SendTestTransaction
project={project}
teamSlug={teamSlug}
wallet={wallet}
/>
</TableCell>
</TableRow>
) : (
wallets.map((wallet) => (
<TableRow className="hover:bg-accent/50" key={wallet.id}>
<TableCell>
{showSigners ? (
<WalletAddress address={wallet.address} client={client} />
) : (
<SmartAccountCell client={client} wallet={wallet} />
)}
</TableCell>
<TableCell>{wallet.metadata.label || "none"}</TableCell>
<TableCell className="text-right">
<WalletDateCell date={wallet.createdAt} />
</TableCell>
<TableCell className="text-right">
<WalletDateCell date={wallet.updatedAt} />
</TableCell>
<TableCell className="flex justify-end">
<SendTestTransaction
project={project}
teamSlug={teamSlug}
wallet={wallet}
/>
</TableCell>
</TableRow>
))
)}
))}
</TableBody>
</Table>

{wallets.length === 0 && (
<div className="py-20 flex items-center justify-center px-4 text-center">
No server wallets found
</div>
)}
</TableContainer>

{totalPages > 1 && (
Expand Down
Loading