diff --git a/packages/page-parachains/src/Auctions/index.tsx b/packages/page-parachains/src/Auctions/index.tsx index 89c56db58df..6bdf6d91b16 100644 --- a/packages/page-parachains/src/Auctions/index.tsx +++ b/packages/page-parachains/src/Auctions/index.tsx @@ -5,8 +5,9 @@ import type { AuctionInfo, Campaigns, OwnedId, Winning } from '../types.js'; import React from 'react'; -import { Button } from '@polkadot/react-components'; +import { Button, MarkWarning } from '@polkadot/react-components'; +import { useTranslation } from '../translate.js'; import Auction from './Auction.js'; import Bid from './Bid.js'; import Summary from './Summary.js'; @@ -20,10 +21,15 @@ interface Props { } function Auctions ({ auctionInfo, campaigns, className, ownedIds, winningData }: Props): React.ReactElement { + const { t } = useTranslation(); const lastWinners = winningData?.[0]; return (
+ { + const { t } = useTranslation(); const bestNumber = useBestNumber(); return (
+