Skip to content

Commit 8440e9d

Browse files
PR comments
1 parent 4d136fc commit 8440e9d

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

src/components/projects/projectId/heuristics/heuristicId/shared/HeuristicStatistics.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default function HeuristicStatistics() {
1111

1212
useEffect(() => {
1313
setPreparedValues(prepareTableBodyHeuristicStatistics(currentHeuristic.stats));
14-
}, []);
14+
}, [currentHeuristic]);
1515

1616
return (
1717
<div className="mt-8">

src/components/shared/sidebar/VersionOverviewModal.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
import { ModalEnum } from "@/src/types/shared/modal";
22
import Modal from "../modal/Modal";
3-
import { IconAlertCircle, IconArrowRight, IconExternalLink } from "@tabler/icons-react";
3+
import { IconArrowRight } from "@tabler/icons-react";
44
import { useSelector } from "react-redux";
55
import { CacheEnum, selectCachedValue } from "@/src/reduxStore/states/cachedValues";
66
import style from '@/src/styles/shared/sidebar.module.css';
7-
import { VersionOverview } from "@/src/types/shared/sidebar";
8-
import { TOOLTIPS_DICT } from "@/src/util/tooltip-constants";
9-
import { Tooltip } from "@nextui-org/react";
107
import LoadingIcon from "../../../../submodules/react-components/components/LoadingIcon";
118
import { useEffect, useState } from "react";
129
import KernTable from "@/submodules/react-components/components/kern-table/KernTable";

0 commit comments

Comments
 (0)