Skip to content

Commit 236d1d1

Browse files
author
sharpd
committed
add [run] as dependency based on feedback
Signed-off-by: sharpd <number6labs@gmail.com>
1 parent 6950f59 commit 236d1d1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

web/src/components/datasets/DatasetInfo.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,9 @@ const DatasetInfo: FunctionComponent<DatasetInfoProps> = (props) => {
7272
const i18next = require('i18next')
7373

7474
useEffect(() => {
75-
run && fetchJobFacets(run.id) && fetchTags()
76-
}, [])
75+
run && fetchJobFacets(run.id)
76+
run && fetchTags()
77+
}, [run])
7778

7879
// unmounting
7980
useEffect(

0 commit comments

Comments
 (0)