Skip to content

Commit

Permalink
Merge pull request #1139 from AI4Bharat/lsf-ui3
Browse files Browse the repository at this point in the history
minor bug in OCR UI
  • Loading branch information
aparna-aa authored Jan 2, 2025
2 parents de988ab + 687e9c2 commit f24b572
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ui/pages/container/Label-Studio/AllTaskLSF.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ useEffect(() => {
if (lsfRef.current) {
lsfRef.current.destroy();
}
lsfRef.current = new LabelStudio(rootRef.current, {
lsfRef.current = new LabelStudio.current(rootRef.current, {
/* all the options according to the docs */
config: labelConfig,

Expand Down
2 changes: 1 addition & 1 deletion src/ui/pages/container/Label-Studio/ReviewLSF.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ useEffect(() => {
if (lsfRef.current) {
lsfRef.current.destroy();
}
lsfRef.current = new LabelStudio(rootRef.current, {
lsfRef.current = new LabelStudio.current(rootRef.current, {
/* all the options according to the docs */
config: labelConfig,

Expand Down
2 changes: 1 addition & 1 deletion src/ui/pages/container/Label-Studio/SuperCheckerLSF.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ useEffect(() => {
if (lsfRef.current) {
lsfRef.current.destroy();
}
lsfRef.current = new LabelStudio(rootRef.current, {
lsfRef.current = new LabelStudio.current(rootRef.current, {
/* all the options according to the docs */
config: labelConfig,

Expand Down

0 comments on commit f24b572

Please sign in to comment.