Skip to content

Commit

Permalink
fix: do not show message when loading
Browse files Browse the repository at this point in the history
  • Loading branch information
dadiorchen committed Mar 26, 2022
1 parent 3d599f2 commit ec47520
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/CaptureMatching/CaptureMatchingView.js
Original file line number Diff line number Diff line change
Expand Up @@ -646,14 +646,14 @@ function CaptureMatchingView(props) {
sameTreeHandler={sameTreeHandler}
/>
)}
{
{!loading && captureImage && candidateImgData && (
//captureImage && treesCount === 0 && (
<Box className={classes.noCandidateBox}>
<Typography variant="h5">
No candidate match found, this capture might be a new tree
</Typography>
</Box>
}
)}
</Box>
</Box>
{loading && (
Expand Down

0 comments on commit ec47520

Please sign in to comment.