Repository navigation
fix: amend missed imports - #32247
Conversation
| } | ||
|
|
||
| export default withThemeStyles(Icon); | ||
| export default compose(withTheme, withThemeStyles)(Icon); |
There was a problem hiding this comment.
| export default compose(withTheme, withThemeStyles)(Icon); | |
| export default withTheme(withThemeStyles(Icon)); |
compose typings are not working correctly, we have been dropping its usage, I suggest doing this for now.
There was a problem hiding this comment.
works like a charm! Thanks a lot!
|
@hoangzinh Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
@koko57 are you going to address the Util styles in this PR as well? |
| } | ||
|
|
||
| export default withThemeStyles(Icon); | ||
| export default withTheme(withThemeStyles(Icon)); |
There was a problem hiding this comment.
Here we'll want to compose the HOCs like this:
import compose from '@libs/compose';
// ...
export default compose(withTheme, withThemeStyles)(Icon);There was a problem hiding this comment.
@chrispader it caused a problem with TS - #32247 (comment) consulted with @fabioh8010
|
🚀 Deployed to staging by https://github.com/grgia in version: 1.4.6-1 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.6-2 🚀
|
Details
Fixed Issues
$ #32254
PROPOSAL:
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop