ktmud opened a new pull request #12510:
URL: https://github.com/apache/superset/pull/12510
### SUMMARY
Fix a new build error from `npm link @superset-ui/core`, which is caused by
duplicate copies of `@emotion/core` registering themes separately. See code
comments for details.
### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
N/A
### TEST PLAN
1. Run `npm link @superset-ui/core` and `npm run dev-server`
2. Go to a page with Superset style select (e.g., Explore page for table viz)
3. You may see following JS error:
<img
src="https://user-images.githubusercontent.com/335541/104548323-67117080-55e5-11eb-93d4-5010c9b0448d.png"
width="500">
This PR should fix that.
### ADDITIONAL INFORMATION
<!--- Check any relevant boxes with "x" -->
<!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
- [ ] Has associated issue:
- [ ] Changes UI
- [ ] Requires DB Migration.
- [ ] Confirm DB Migration upgrade and downgrade tested.
- [ ] Introduces new feature or API
- [ ] Removes existing feature or API
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]