Skip to content

Commit

Permalink
Fix ratings
Browse files Browse the repository at this point in the history
  • Loading branch information
kattylucy committed Oct 16, 2024
1 parent caf90bd commit 2221d4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions centrifuge-app/src/components/PoolOverview/KeyMetrics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ export const KeyMetrics = ({ poolId }: Props) => {
<Shelf gap={1}>
{metadata?.pool?.poolRatings.map((rating) => (
<Tooltip
delay={300}
bodyWidth="maxContent"
body={
<TooltipBody
Expand All @@ -200,9 +199,10 @@ export const KeyMetrics = ({ poolId }: Props) => {
borderRadius={20}
padding="2px 10px"
display="flex"
alignItems="center"
>
{rating.agency?.includes('moody') ? <IconMoody size={16} /> : <IconSp size={16} />}
<Text>{rating.value}</Text>
<Text style={{ marginLeft: 4 }}>{rating.value}</Text>
</Box>
</Tooltip>
))}
Expand Down

0 comments on commit 2221d4c

Please sign in to comment.