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