mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-18 14:26:39 +00:00
fix: formatting test for management table
This commit is contained in:
parent
1a468f7011
commit
f2a15d958e
@ -26,7 +26,10 @@ type Validator = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const isValidStatus = (validatorStatus: string, tabStatus: string) => {
|
const isValidStatus = (validatorStatus: string, tabStatus: string) => {
|
||||||
if (validatorStatus === tabStatus || tabStatus === VALIDATOR_TABS_MANAGEMENT[VALIDATOR_TABS_MANAGEMENT.length - 1]) {
|
if (
|
||||||
|
validatorStatus === tabStatus ||
|
||||||
|
tabStatus === VALIDATOR_TABS_MANAGEMENT[VALIDATOR_TABS_MANAGEMENT.length - 1]
|
||||||
|
) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user