Fix merging issues
This commit is contained in:
parent
00ee90bf7f
commit
a78f2c1429
|
@ -76,7 +76,7 @@ export function ConfirmationButton(props: {
|
||||||
</Modal>
|
</Modal>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
className={clsx(openModalBtn.className)}
|
className={openModalBtn.className}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
if (disabled) {
|
if (disabled) {
|
||||||
return
|
return
|
||||||
|
|
|
@ -121,7 +121,9 @@ const BinaryOverview = (props: { contract: BinaryContract; bets: Bet[] }) => {
|
||||||
contract={contract}
|
contract={contract}
|
||||||
large
|
large
|
||||||
/>
|
/>
|
||||||
|
{contract.isResolved && (
|
||||||
<ContractReportResolution contract={contract} />
|
<ContractReportResolution contract={contract} />
|
||||||
|
)}
|
||||||
</Row>
|
</Row>
|
||||||
</Row>
|
</Row>
|
||||||
</Col>
|
</Col>
|
||||||
|
|
|
@ -32,8 +32,8 @@ export function ContractReportResolution(props: { contract: Contract }) {
|
||||||
}
|
}
|
||||||
|
|
||||||
const flagClass = clsx(
|
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',
|
'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'
|
userReported ? '!text-red-500' : '!text-gray-500'
|
||||||
)
|
)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in New Issue
Block a user