crane-cloud/frontend

View on GitHub
src/pages/Experirments/ExperiementsListPage.tsx

Summary

Maintainability
A
25 mins
Test Coverage

Showing 1 of 1 total issue

Function ExperiementsListPage has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
Open

const ExperiementsListPage = () => {
const { app_id } = useParams();
const { app } = useGetApp(app_id || "");
const { getData: getExperiments, data: experiments, loading } = useGet();
useEffect(() => {
Severity: Minor
Found in src/pages/Experirments/ExperiementsListPage.tsx - About 25 mins to fix
Category
Status