Skip to content

Commit df90927

Browse files
review
1 parent e15b660 commit df90927

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ export function TransactionDetailsUI({
255255
/>
256256
) : (
257257
<div className="rounded-md bg-destructive/10 p-4 text-destructive">
258-
errorMessage
258+
{errorMessage}
259259
</div>
260260
)}
261261
</CardContent>

packages/thirdweb/src/engine/server-wallet.ts

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -213,17 +213,10 @@ export function serverWallet(options: ServerWalletOptions): ServerWallet {
213213
case "auto": {
214214
return {
215215
chainId,
216-
// smartAccountAddress: address,
217216
from: address,
218217
type: "auto",
219218
};
220219
}
221-
222-
// case "eoa": {
223-
// return {
224-
// chainId,
225-
// from: address,
226-
// }
227220
}
228221
};
229222

@@ -247,9 +240,9 @@ export function serverWallet(options: ServerWalletOptions): ServerWallet {
247240
const body = {
248241
executionOptions: getExecutionOptionsWithChainId(chainId),
249242
params: transaction.map((t) => ({
250-
data: t.data || "0x",
251-
to: t.to ?? "", // TODO this should be allowed to be undefined
252-
value: t.value?.toString() || "0",
243+
data: t.data,
244+
to: t.to,
245+
value: t.value?.toString(),
253246
})),
254247
};
255248

0 commit comments

Comments
 (0)