From dd4444caf96a886317fdab16e81b03b1b33c9bfa Mon Sep 17 00:00:00 2001 From: mantikoros Date: Mon, 13 Jun 2022 21:09:09 -0500 Subject: [PATCH] deprecation warning for numeric markets --- web/pages/[username]/[contractSlug].tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/web/pages/[username]/[contractSlug].tsx b/web/pages/[username]/[contractSlug].tsx index c8f3bdb6..d6bd826d 100644 --- a/web/pages/[username]/[contractSlug].tsx +++ b/web/pages/[username]/[contractSlug].tsx @@ -39,6 +39,7 @@ import { FeedBet } from 'web/components/feed/feed-bets' import { useIsIframe } from 'web/hooks/use-is-iframe' import ContractEmbedPage from '../embed/[username]/[contractSlug]' import { useBets } from 'web/hooks/use-bets' +import { AlertBox } from 'web/components/alert-box' export const getStaticProps = fromPropz(getStaticPropz) export async function getStaticPropz(props: { @@ -189,6 +190,12 @@ export function ContractPageContent( bets={bets} comments={comments ?? []} /> + {isNumeric && ( + + )} {outcomeType === 'FREE_RESPONSE' && ( <>