Skip to content

Commit 099f26f

Browse files
committed
fix txs
1 parent 5836501 commit 099f26f

File tree

2 files changed

+177
-498
lines changed

2 files changed

+177
-498
lines changed

src/pages/Transaction.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ export const Transaction: React.FC = () => {
4343

4444
setData(result);
4545
} catch (err) {
46+
const errorMessage = err instanceof Error ? err.message : 'Failed to load transaction information';
4647
console.error('Error loading transaction data:', err);
47-
setError('Failed to load transaction information');
48+
setError(errorMessage);
4849
} finally {
4950
setLoading(false);
5051
}

0 commit comments

Comments
 (0)