Skip to content

Commit b3781e1

Browse files
MadinventorZerojonocrbuddhajjigaexkevinparkwilliamdyoon
committed
Undoing some merge issues from anno fix
Co-authored-by: jonocr <[email protected]> Co-authored-by: buddhajjigae <[email protected]> Co-authored-by: xkevinpark <[email protected]> Co-authored-by: williamdyoon <[email protected]>
1 parent 6192274 commit b3781e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/components/main/Annotation.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ function Annotation({
7070
return temp;
7171
}
7272
}
73-
if (element.children.length > 0) return annoRefresh(element.children);
7473
}
74+
return '';
7575
};
7676

7777
/**
@@ -97,7 +97,7 @@ function Annotation({
9797
<button className='annotate-button-empty' id={"btn" + id} onClick={() => handleOpen(id)} ref={ref}>Notes</button>
9898
<Modal
9999
open={open}
100-
onClose={handleClose}
100+
onClose={() => handleClose(id)}
101101
keepMounted={true}
102102
>
103103
{body}

0 commit comments

Comments
 (0)