Skip to content

Commit 248816e

Browse files
lint
1 parent 9d6e1d9 commit 248816e

File tree

2 files changed

+25
-48
lines changed

2 files changed

+25
-48
lines changed

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/analytics/tx-table/types.ts

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -80,30 +80,7 @@ export type TransactionStatus =
8080
| "CONFIRMED"
8181
| "REVERTED";
8282

83-
export type TransactionParam = {
84-
to: string;
85-
data: string;
86-
value: string;
87-
};
88-
89-
export type ExecutionParams = {
90-
type: string;
91-
signerAddress: string;
92-
entrypointAddress: string;
93-
smartAccountAddress: string;
94-
};
95-
96-
export type ExecutionResult = {
97-
status: TransactionStatus;
98-
nonce?: string;
99-
userOpHash?: string;
100-
actualGasCost?: string;
101-
actualGasUsed?: string;
102-
onchainStatus?: string;
103-
transactionHash?: string;
104-
};
105-
106-
export type Pagination = {
83+
type Pagination = {
10784
totalCount: string;
10885
page: number;
10986
limit: number;

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/tx/[id]/transaction-details-ui.tsx

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,30 @@ export function TransactionDetailsUI({
206206
</div>
207207
</CardContent>
208208
</Card>
209+
<Card>
210+
<CardHeader>
211+
<CardTitle className="text-lg">Sender Information</CardTitle>
212+
</CardHeader>
213+
<CardContent className="flex flex-col gap-4">
214+
<div className="flex flex-col space-y-2 md:flex-row md:items-center md:space-y-0">
215+
<div className="w-full text-muted-foreground text-sm md:w-1/3">
216+
Sender Address
217+
</div>
218+
<div className="md:w-2/3">
219+
<WalletAddress address={senderAddress} />
220+
</div>
221+
</div>
222+
223+
<div className="flex flex-col space-y-2 md:flex-row md:items-center md:space-y-0">
224+
<div className="w-full text-muted-foreground text-sm md:w-1/3">
225+
Signer Address
226+
</div>
227+
<div className="md:w-2/3">
228+
<WalletAddress address={signerAddress} />
229+
</div>
230+
</div>
231+
</CardContent>
232+
</Card>
209233
<Card>
210234
<CardHeader>
211235
<CardTitle className="text-lg">Transaction Parameters</CardTitle>
@@ -238,30 +262,6 @@ export function TransactionDetailsUI({
238262
</CardContent>
239263
</Card>
240264
)}
241-
<Card>
242-
<CardHeader>
243-
<CardTitle className="text-lg">Sender Information</CardTitle>
244-
</CardHeader>
245-
<CardContent className="flex flex-col gap-4">
246-
<div className="flex flex-col space-y-2 md:flex-row md:items-center md:space-y-0">
247-
<div className="w-full text-muted-foreground text-sm md:w-1/3">
248-
Sender Address
249-
</div>
250-
<div className="md:w-2/3">
251-
<WalletAddress address={senderAddress} />
252-
</div>
253-
</div>
254-
255-
<div className="flex flex-col space-y-2 md:flex-row md:items-center md:space-y-0">
256-
<div className="w-full text-muted-foreground text-sm md:w-1/3">
257-
Signer Address
258-
</div>
259-
<div className="md:w-2/3">
260-
<WalletAddress address={signerAddress} />
261-
</div>
262-
</div>
263-
</CardContent>
264-
</Card>
265265
<Card>
266266
<CardHeader>
267267
<CardTitle className="text-lg">Timing Information</CardTitle>

0 commit comments

Comments
 (0)