feat: detect bee mode and enable/disable status checks accordingly (#318)

This commit is contained in:
Vojtech Simetka
2022-03-29 15:37:40 +02:00
committed by GitHub
parent bf24d61584
commit 8baecb783f
8 changed files with 78 additions and 42 deletions
@@ -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