Skip to content

Commit

Permalink
frontend: Relay page: update spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmota committed Nov 28, 2024
1 parent 6e879d9 commit 14065a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/explorer-backend/scripts/refresh_pending.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ async function main () {
if (page === 2) {
break
}
const url0 = `https://explorer-api.hop.exchange/v1/transfers?page=${page}&bonded=pending`
const url0 = `https://explorer-api.hop.exchange/v1/transfers?page=${page}&bonded=pending&rate_limit_token=${rateLimitToken}`
const response0 = await fetch(url0)
const json0 = await response0.json()
const transferIds = json0.data.map(transfer => transfer.transferId)
Expand Down
8 changes: 4 additions & 4 deletions packages/frontend/src/pages/Relay/Relay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -286,19 +286,19 @@ export const Relay: FC = () => {
</Button>
</Box>
</form>
<Box className={styles.notice}>
<Box className={styles.notice} mb={2}>
<Alert severity="error">{error}</Alert>
</Box>
<Box className={styles.notice}>
<Box className={styles.notice} mb={2}>
<Alert severity="success">{success}</Alert>
</Box>
{commitTxHashForTransferId && (
<Box className={styles.notice}>
<Box className={styles.notice} mb={2}>
<Alert severity="info">Found commit tx hash: {commitTxHashForTransferId}</Alert>
</Box>
)}
{commitInfoMsg && (
<Box className={styles.notice}>
<Box className={styles.notice} mb={2}>
<Alert severity="info">{commitInfoMsg}</Alert>
</Box>
)}
Expand Down

0 comments on commit 14065a1

Please sign in to comment.