Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Fix initialization callouts to properly show when first loading anoma…
Browse files Browse the repository at this point in the history
…ly results page (#300)
  • Loading branch information
ohltyler committed Sep 3, 2020
1 parent 956fc91 commit 6dda30b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion public/pages/DetectorResults/containers/AnomalyResults.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,11 @@ export function AnomalyResults(props: AnomalyResultsProps) {
BREADCRUMBS.DETECTORS,
{ text: detector ? detector.name : '' },
]);
dispatch(getDetector(detectorId));
}, []);

const fetchDetector = async () => {
await dispatch(getDetector(detectorId));
dispatch(getDetector(detectorId));
};

useEffect(() => {
Expand Down

0 comments on commit 6dda30b

Please sign in to comment.