Skip to content

Commit

Permalink
fix hardcode
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenhoaidanh committed Jul 20, 2023
1 parent 31272cc commit a6e6279
Showing 1 changed file with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export default function AnnouncementItem({
minPrice,
currentPrice,
poolAddress,
token2Symbol,

Check failure on line 63 in src/components/Announcement/PrivateAnnoucement/NotificationCenter/PoolPosition.tsx

View workflow job for this annotation

GitHub Actions / cypress-test

Property 'token2Symbol' does not exist on type 'PoolPositionAnnouncement'.

Check failure on line 63 in src/components/Announcement/PrivateAnnoucement/NotificationCenter/PoolPosition.tsx

View workflow job for this annotation

GitHub Actions / cypress-test

Property 'token2Symbol' does not exist on type 'PoolPositionAnnouncement'.
} = position || {}
const isInRange = type === 'IN_RANGE'
const statusMessage = isInRange ? t`Back in range` : t`Out of range`
Expand Down Expand Up @@ -97,13 +98,19 @@ export default function AnnouncementItem({
{expand && (
<Detail>
<Text>
<Trans>Current Market Price is {currentPrice} USDT per stMatic</Trans>
<Trans>
Current Market Price is {currentPrice} {token1Symbol} per {token2Symbol}
</Trans>
</Text>
<Text>
<Trans>Min Price of your range is {minPrice} USDT per stMatic</Trans>
<Trans>
Min Price of your range is {minPrice} {token1Symbol} per {token2Symbol}
</Trans>
</Text>
<Text>
<Trans>Max Price of your range is {maxPrice} USDT per stMatic</Trans>
<Trans>
Max Price of your range is {maxPrice} {token1Symbol} per {token2Symbol}
</Trans>
</Text>
</Detail>
)}
Expand Down

0 comments on commit a6e6279

Please sign in to comment.