Skip to content

Commit 767311a

Browse files
Fixed missing prop
1 parent ebe263b commit 767311a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Annotator/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ export const Annotator = ({
9090
hideHeaderText,
9191
hideNext,
9292
hidePrev,
93+
allowComments,
9394
}: Props) => {
9495
if (typeof selectedImage === "string") {
9596
selectedImage = (images || []).findIndex((img) => img.src === selectedImage)
@@ -125,6 +126,7 @@ export const Annotator = ({
125126
history: [],
126127
videoName,
127128
keypointDefinitions,
129+
allowComments,
128130
...(annotationType === "image"
129131
? {
130132
selectedImage,

0 commit comments

Comments
 (0)