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

IBX-9489: [OSS] UncaughtTypeError after entering 'Content structure' #1440

Open
wants to merge 1 commit into
base: 4.6
Choose a base branch
from

Conversation

GrabowskiM
Copy link
Contributor

🎫 Issue IBX-9489

Description:

This PR reverts changing order of operations introduced in https://github.com/ibexa/admin-ui/pull/1409/files#diff-bf77db8b51e34024d4e5a4296543fbdca4b437d11f43b61d4de71482b7b5c794R33
That's not perfect solution, as it breaks rules of hooks (early return before hooks), but this check has to be done here, as all these contexts doesn't exist outside UDW. In a perfect world, this isUDW check should be done in parent before rendering this component, but parent is class component, so it can't use context from hooks...

For QA:

Documentation:

@GrabowskiM GrabowskiM requested a review from a team February 5, 2025 14:08
Copy link

sonarqubecloud bot commented Feb 5, 2025

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.

4 participants