Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate filePreview in the state #98

Open
minump opened this issue Dec 11, 2024 · 2 comments
Open

Duplicate filePreview in the state #98

minump opened this issue Dec 11, 2024 · 2 comments
Assignees

Comments

@minump
Copy link
Collaborator

minump commented Dec 11, 2024

The filePreview state has two duplicate entries after model inference is done.
Currently the first item is chosen (hard-coded).
Check why there is a duplicate entry.

@minump
Copy link
Collaborator Author

minump commented Dec 16, 2024

Two Duplicate values in preview state.
Screenshot 2024-12-16 at 2 26 37 PM

@minump
Copy link
Collaborator Author

minump commented Dec 16, 2024

The useEffect on 'extractionStatus runs the [html_file_loop](https://github.com/clowder-framework/CONSORT-frontend/blob/main/src/components/childComponents/CreateAndUpload.js#L57) again when the extraction is complete, as the extractionStatus` gets updated again.

Screenshot 2024-12-16 at 2 48 40 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant