litmuschaos/litmus

Chore: remove inefficient code

Open

#4.206 aberto em 4 de out. de 2023

Ver no GitHub
 (6 comments) (0 reactions) (1 assignee)HTML (574 forks)batch import
Hacktoberfestgood first issue

Métricas do repositório

Stars
 (3.702 stars)
Métricas de merge de PR
 (Mesclagem média 30d 14h) (14 fundiu PRs em 30d)

Description

As you can see in the switch expression, lastExperimentRunStatus === ExperimentRunStatus.RUNNING and lastExperimentRunStatus === ExperimentRunStatus.QUEUED are always true. IMO, we can shift these statements to true

Anyone who finds good first issues or participates in hacktoberfest can take this issue.

https://github.com/litmuschaos/litmus/blob/794676f6b75e08835334fd5d675e0b0d096d5f9d/chaoscenter/web/src/views/ExperimentDashboardV2/ExperimentDashboardV2Table.tsx#L207-L223

Guia do colaborador