Skip to content

Commit

Permalink
set to undefined while waiting to fetch new graph
Browse files Browse the repository at this point in the history
  • Loading branch information
kwannoel committed Aug 28, 2024
1 parent e145467 commit 165bdaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dashboard/pages/fragment_graph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ export default function Streaming() {

useEffect(() => {
if (relationId) {
setTableFragments(undefined)
getFragmentsByJobId(relationId).then((tf) => {
setTableFragments(tf)
})
Expand Down

0 comments on commit 165bdaa

Please sign in to comment.