feat: add node connecting status (#603)

This commit is contained in:
Cafe137
2023-01-19 12:05:24 +01:00
committed by GitHub
parent 01838dccd1
commit 90f9f91ddb
5 changed files with 48 additions and 11 deletions
+4 -1
View File
@@ -1,5 +1,5 @@
import type { ReactElement } from 'react'
import { CircularProgress } from '@material-ui/core'
import type { ReactElement } from 'react'
import { CheckState } from '../providers/Bee'
interface Props {
@@ -28,6 +28,9 @@ export default function StatusIcon({ checkState, size, className, isLoading }: P
case CheckState.STARTING:
backgroundColor = 'orange'
break
case CheckState.CONNECTING:
backgroundColor = '#0074D9'
break
default:
// Default is error
backgroundColor = '#ff3a52'