Skip to content

Commit

Permalink
change view once all collections are deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
sayan-truefoundry committed Nov 11, 2024
1 parent 755c402 commit d33bcb4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/screens/dashboard/docsqa/settings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ const DocsQASettings = () => {
) {
setSelectedCollection(collectionsNames[0])
}
} else {
setSelectedCollection(undefined)
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [collectionsNames])
Expand Down

0 comments on commit d33bcb4

Please sign in to comment.