Fix merging issues
This commit is contained in:
parent
00ee90bf7f
commit
a78f2c1429
|
@ -76,7 +76,7 @@ export function ConfirmationButton(props: {
|
|||
</Modal>
|
||||
|
||||
<Button
|
||||
className={clsx(openModalBtn.className)}
|
||||
className={openModalBtn.className}
|
||||
onClick={() => {
|
||||
if (disabled) {
|
||||
return
|
||||
|
|
|
@ -121,7 +121,9 @@ const BinaryOverview = (props: { contract: BinaryContract; bets: Bet[] }) => {
|
|||
contract={contract}
|
||||
large
|
||||
/>
|
||||
<ContractReportResolution contract={contract} />
|
||||
{contract.isResolved && (
|
||||
<ContractReportResolution contract={contract} />
|
||||
)}
|
||||
</Row>
|
||||
</Row>
|
||||
</Col>
|
||||
|
|
|
@ -32,8 +32,8 @@ export function ContractReportResolution(props: { contract: Contract }) {
|
|||
}
|
||||
|
||||
const flagClass = clsx(
|
||||
'mx-2 flex flex-col items-center gap-1 w-6 h-6 text-gray-500 rounded-md bg-gray-100 px-2 py-1 hover:bg-gray-300',
|
||||
userReported && 'text-red-500'
|
||||
'mx-2 flex flex-col items-center gap-1 w-6 h-6 rounded-md !bg-gray-100 px-2 py-1 hover:bg-gray-300',
|
||||
userReported ? '!text-red-500' : '!text-gray-500'
|
||||
)
|
||||
|
||||
return (
|
||||
|
|
Loading…
Reference in New Issue
Block a user