Skip to content

Commit 283df5f

Browse files
lint
1 parent 81e6683 commit 283df5f

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/wallets/users/components/SearchResults.tsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ export function SearchResults(props: {
5151
const mainDetail = user.linkedAccounts?.[0]?.details;
5252
const email = mainDetail?.email as string | undefined;
5353
const phone = mainDetail?.phone as string | undefined;
54-
54+
5555
// Get external wallet addresses from linkedAccounts where type is 'siwe'
56-
const externalWalletAccounts = user.linkedAccounts?.filter(
57-
(account) => account.type === "siwe"
58-
) || [];
56+
const externalWalletAccounts =
57+
user.linkedAccounts?.filter((account) => account.type === "siwe") ||
58+
[];
5959

6060
return (
6161
<Card key={user.id}>
@@ -108,7 +108,9 @@ export function SearchResults(props: {
108108
</p>
109109
<div className="space-y-1">
110110
{externalWalletAccounts.map((account, index) => {
111-
const address = account.details?.address as string | undefined;
111+
const address = account.details?.address as
112+
| string
113+
| undefined;
112114
return address ? (
113115
<div key={`${user.id}-external-${index}`}>
114116
<WalletAddress

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/wallets/users/components/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ export function InAppWalletUsersPageContent(
208208
.map((account) => account.details?.address)
209209
.filter(Boolean)
210210
.join(", ");
211-
211+
212212
return {
213213
address: row.wallets[0]?.address || "Uninitialized",
214214
created: row.wallets[0]?.createdAt
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
export type SearchType = "email" | "phone" | "id" | "address" | "externalWallet";
1+
export type SearchType =
2+
| "email"
3+
| "phone"
4+
| "id"
5+
| "address"
6+
| "externalWallet";

0 commit comments

Comments
 (0)