Created contrac today => true to avoid free market flash
This commit is contained in:
parent
b98468c7ea
commit
ef98c16c26
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue
Block a user