Created contrac today => true to avoid free market flash

This commit is contained in:
Ian Philips 2022-05-17 10:05:51 -06:00
parent b98468c7ea
commit ef98c16c26

View File

@ -2,7 +2,7 @@ import { listContracts } from 'web/lib/firebase/contracts'
import { useEffect, useState } from 'react'
import { User } from 'common/user'
let sessionCreatedContractToday = false
let sessionCreatedContractToday = true
export const useHasCreatedContractToday = (user: User | null | undefined) => {
const [hasCreatedContractToday, setHasCreatedContractToday] = useState(