This commit is contained in:
ingawei 2022-09-14 23:34:00 -07:00
parent adb92abee6
commit 4312414ca5
2 changed files with 1 additions and 2 deletions

View File

@ -111,7 +111,7 @@ export function ContractDetails(props: {
}) {
const { contract, disabled } = props
const { creatorName, creatorUsername, creatorId, creatorAvatarUrl } = contract
const { volumeLabel, resolvedDate } = contractMetrics(contract)
const { resolvedDate } = contractMetrics(contract)
const user = useUser()
const isCreator = user?.id === creatorId
const isMobile = useIsMobile()

View File

@ -28,7 +28,6 @@ export function ContractInfoDialog(props: {
contract: Contract
className?: string
}) {
const user = useUser()
const { contract, className } = props
const [open, setOpen] = useState(false)