Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tom2drum committed Sep 28, 2023
1 parent 19800e6 commit eadddb8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion ui/snippets/header/alerts/IndexingBlocksAlert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const IndexingBlocksAlert = () => {

return (
<Alert status="info" colorScheme="gray" py={ 3 } borderRadius="md">
<AlertIcon display={{ base: 'none', lg: 'block' }}/>
<AlertIcon display={{ base: 'none', lg: 'flex' }}/>
<AlertTitle>
{ `${ data.indexed_blocks_ratio && `${ Math.floor(Number(data.indexed_blocks_ratio) * 100) }% Blocks Indexed${ nbsp }${ ndash } ` }
We're indexing this chain right now. Some of the counts may be inaccurate.` }
Expand Down
5 changes: 2 additions & 3 deletions ui/snippets/header/alerts/MaintenanceAlert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const MaintenanceAlert = () => {

return (
<Alert status="info" colorScheme="gray" py={ 3 } borderRadius="md">
<AlertIcon display={{ base: 'none', lg: 'block' }}/>
<AlertIcon display={{ base: 'none', lg: 'flex' }}/>
<AlertTitle
dangerouslySetInnerHTML={{ __html: config.UI.maintenanceAlert.message }}
sx={{
Expand All @@ -21,8 +21,7 @@ const MaintenanceAlert = () => {
},
},
}}
>
</AlertTitle>
/>
</Alert>
);
};
Expand Down

0 comments on commit eadddb8

Please sign in to comment.