Skip to content

Commit

Permalink
fix: remove empty oracle name when fetch failed
Browse files Browse the repository at this point in the history
  • Loading branch information
mpblocky committed Oct 25, 2024
1 parent bd89983 commit 4b83f16
Showing 1 changed file with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,17 @@ export function JobsPage() {
}}
>
<div>
<Box
sx={{
padding: '8px 42px',
backgroundColor: isDarkMode ? '#CDC7FF14' : '#1406B20A',
display: 'inline-block',
}}
>
<Typography variant="h6">{oracleName}</Typography>
</Box>
{!isError && (
<Box
sx={{
padding: '8px 42px',
backgroundColor: isDarkMode ? '#CDC7FF14' : '#1406B20A',
display: 'inline-block',
}}
>
<Typography variant="h6">{oracleName}</Typography>
</Box>
)}
</div>
<Stack>
<TableQueryContextProvider>
Expand Down

0 comments on commit 4b83f16

Please sign in to comment.