|
1 | 1 | import { ChainId, coalesceChainName } from '@certusone/wormhole-sdk/lib/esm/utils/consts';
|
2 | 2 | import { CheckBox, CheckBoxOutlineBlank, Launch } from '@mui/icons-material';
|
3 |
| -import { Box, Button, CircularProgress, IconButton, SxProps, Theme, Tooltip, Typography } from '@mui/material'; |
| 3 | +import { |
| 4 | + Box, |
| 5 | + Button, |
| 6 | + CircularProgress, |
| 7 | + IconButton, |
| 8 | + SxProps, |
| 9 | + Theme, |
| 10 | + Tooltip, |
| 11 | + Typography, |
| 12 | +} from '@mui/material'; |
4 | 13 | import axios from 'axios';
|
5 | 14 | import React, { useCallback, useEffect, useMemo, useState } from 'react';
|
6 | 15 | import CollapsibleSection from './CollapsibleSection';
|
@@ -74,7 +83,12 @@ function BlockDetail({ chain, block, vaas }: { chain: string; block: string; vaa
|
74 | 83 | </Typography>
|
75 | 84 | <Typography variant="body2" sx={{ fontFamily: 'monospace', ml: 1 }} gutterBottom>
|
76 | 85 | {vaa.split(':')[1]}{' '}
|
77 |
| - <IconButton href={explorerVaa(vaa.split(':')[1])} target="_blank" size="small" sx={inlineIconButtonSx}> |
| 86 | + <IconButton |
| 87 | + href={explorerVaa(vaa.split(':')[1])} |
| 88 | + target="_blank" |
| 89 | + size="small" |
| 90 | + sx={inlineIconButtonSx} |
| 91 | + > |
78 | 92 | <Launch fontSize="inherit" />
|
79 | 93 | </IconButton>
|
80 | 94 | </Typography>
|
@@ -262,7 +276,8 @@ function App() {
|
262 | 276 | } = {};
|
263 | 277 | Object.entries(db).forEach(([chain, vaasByBlock]) => {
|
264 | 278 | const entries = Object.entries(vaasByBlock);
|
265 |
| - const [lastIndexedBlockNumber, lastIndexedBlockTime] = entries[entries.length - 1][0].split('/'); |
| 279 | + const [lastIndexedBlockNumber, lastIndexedBlockTime] = |
| 280 | + entries[entries.length - 1][0].split('/'); |
266 | 281 | metaByChain[chain] = {
|
267 | 282 | lastIndexedBlockNumber,
|
268 | 283 | lastIndexedBlockTime,
|
|
0 commit comments