We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
txs
1 parent 5836501 commit 099f26fCopy full SHA for 099f26f
src/pages/Transaction.tsx
@@ -43,8 +43,9 @@ export const Transaction: React.FC = () => {
43
44
setData(result);
45
} catch (err) {
46
+ const errorMessage = err instanceof Error ? err.message : 'Failed to load transaction information';
47
console.error('Error loading transaction data:', err);
- setError('Failed to load transaction information');
48
+ setError(errorMessage);
49
} finally {
50
setLoading(false);
51
}
0 commit comments