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

fix: OPTIC-712: Remove warnings in the app related to injection occur… #5820

Merged
merged 2 commits into from
May 7, 2024

Conversation

luarmr
Copy link
Contributor

@luarmr luarmr commented May 3, 2024

Removing warnings in console:

Screenshot 2024-05-03 at 9 52 27 AM

@luarmr luarmr requested a review from bmartel May 3, 2024 17:10
Copy link

netlify bot commented May 3, 2024

Deploy Preview for label-studio-docs-new-theme canceled.

Name Link
🔨 Latest commit 1802064
🔍 Latest deploy log https://app.netlify.com/sites/label-studio-docs-new-theme/deploys/663a68aec75dde0008a96dd4

Copy link

netlify bot commented May 3, 2024

Deploy Preview for heartex-docs canceled.

Name Link
🔨 Latest commit 1802064
🔍 Latest deploy log https://app.netlify.com/sites/heartex-docs/deploys/663a68ae0f18070008426dd4

@github-actions github-actions bot added the fix label May 3, 2024
@luarmr luarmr force-pushed the fb-optic-712/remove-warnings branch from b237781 to b7e51c6 Compare May 6, 2024 15:50
@luarmr luarmr enabled auto-merge (squash) May 6, 2024 15:50
@luarmr luarmr force-pushed the fb-optic-712/remove-warnings branch 2 times, most recently from 4cc49ac to 6c074dd Compare May 6, 2024 22:44
@luarmr luarmr disabled auto-merge May 6, 2024 23:53
Copy link
Collaborator

@hlomzik hlomzik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can even be improved further because some of components (RelationsTab, InfoTab) don't need store, so inject() can also be removed; plus for the rest observer() can be moved to component declaration as well for consistency.
But it's ok like this to fix the bug!

@luarmr luarmr force-pushed the fb-optic-712/remove-warnings branch from 6408d8c to dd175af Compare May 7, 2024 15:20
@luarmr luarmr enabled auto-merge (squash) May 7, 2024 15:21
@luarmr luarmr force-pushed the fb-optic-712/remove-warnings branch from a606cae to ce1059e Compare May 7, 2024 16:06
@luarmr luarmr force-pushed the fb-optic-712/remove-warnings branch from b952325 to 9f1d0c7 Compare May 7, 2024 17:41
@luarmr luarmr merged commit e53be42 into develop May 7, 2024
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants