feat: detect bee mode and enable/disable status checks accordingly (#318)
This commit is contained in:
@@ -10,7 +10,9 @@ import { Context } from '../../../providers/Bee'
|
||||
|
||||
const ChequebookDeployFund = (): ReactElement | null => {
|
||||
const { status, isLoading, chequebookAddress } = useContext(Context)
|
||||
const isOk = status.chequebook
|
||||
const { isOk, isEnabled } = status.chequebook
|
||||
|
||||
if (!isEnabled) return null
|
||||
|
||||
return (
|
||||
<ExpandableList
|
||||
|
||||
Reference in New Issue
Block a user