chore: remove unnecessary ts-ignores

This commit is contained in:
Matthew Russell 2024-02-20 09:24:17 -08:00
parent e941665a29
commit e21b71fc84
No known key found for this signature in database

View File

@ -141,11 +141,7 @@ const ProposalDetails = ({
}
case 'UpdateMarketState': {
const marketPageLink = consoleLink(
CONSOLE_MARKET_PAGE.replace(
':marketId',
// @ts-ignore ts doesn't like this field even though its already a string above???
terms.change.market.id
)
CONSOLE_MARKET_PAGE.replace(':marketId', terms.change.market.id)
);
return (
<span>
@ -188,11 +184,7 @@ const ProposalDetails = ({
}
case 'UpdateMarket': {
const marketPageLink = consoleLink(
CONSOLE_MARKET_PAGE.replace(
':marketId',
// @ts-ignore ts doesn't like this field even though its already a string above???
terms.change.marketId
)
CONSOLE_MARKET_PAGE.replace(':marketId', terms.change.marketId)
);
return (