Fix recommended markets not updating when navigating

This commit is contained in:
James Grugett 2022-08-27 22:35:46 -05:00
parent cb08a114ae
commit e4f46c48f1

View File

@ -106,7 +106,9 @@ export default function ContractPage(props: {
return <Custom404 />
}
return <ContractPageContent {...{ ...props, contract, user }} />
return (
<ContractPageContent key={contract.id} {...{ ...props, contract, user }} />
)
}
export function ContractPageSidebar(props: {