getting rid of comments
This commit is contained in:
parent
a01faba17b
commit
266a21a509
|
@ -122,8 +122,6 @@ export function ContractPageSidebar(props: {
|
||||||
const isPseudoNumeric = outcomeType === 'PSEUDO_NUMERIC'
|
const isPseudoNumeric = outcomeType === 'PSEUDO_NUMERIC'
|
||||||
const isNumeric = outcomeType === 'NUMERIC'
|
const isNumeric = outcomeType === 'NUMERIC'
|
||||||
const allowTrade = tradingAllowed(contract)
|
const allowTrade = tradingAllowed(contract)
|
||||||
// INGA HERE IT'S HERE THIS IS THE SOLUTION
|
|
||||||
// const allowResolve = !isResolved && isCreator && !!user
|
|
||||||
const isAdmin = useAdmin()
|
const isAdmin = useAdmin()
|
||||||
const allowResolve = !isResolved && (isCreator || isAdmin) && !!user
|
const allowResolve = !isResolved && (isCreator || isAdmin) && !!user
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user