We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 492a1c3 commit 8bbda20Copy full SHA for 8bbda20
src/components/ImageSegmentation/index.js
@@ -73,7 +73,7 @@ export default ({
73
if (containerProps.onExit) containerProps.onExit(nextAction)
74
})
75
const onNextImage = useEventCallback((output) => {
76
- if (selectedIndex + 1 > samples.length) {
+ if (selectedIndex + 1 >= samples.length) {
77
onExit(output, "go-to-next")
78
} else {
79
saveCurrentIndexAnnotation(output)
0 commit comments