chore: another tidy up

This commit is contained in:
phamhieu committed 2022-05-04 11:46:43 +07:00
1 parent 00710f786d
commit d5166bd413
1 file changed
+2 -1
@@ -27,7 +27,8 @@ const ProjectBuildingState: FC<ProjectBuildingState> = ({ project }) => {
const { status } = projectStatus
if (status === PROJECT_STATUS.ACTIVE_HEALTHY) {
clearInterval(checkServerInterval.current)
// re-fetch project detail. This will trigger UI state change to show the welcome screen
// re-fetch project detail.
// This will also trigger UI state change to show project building completed
await app.projects.fetchDetail(project.ref)
}
}