Issue Type: Bug
Both DiscountedItemPrice
and RegularItemPrice
have same definitions (arrow function above), however if I nest DiscountedItemPrice
into div
it has proper color for custom component.
const ItemPrice = (props) => { return props.discountAmount > -1 ? <div><DiscountedItemPrice { ...props } /></div> : <RegularItemPrice { ...props } />; };Screen: Tokens for DiscountedItemPrice Screen: Tokens for RegularItemPrice
However it will be displayed fine if I make it not self-closing
Screen: Tokens for RegularItemPrice (not self-closing)/cc @aeschli
VS Code version: Code - Insiders 1.42.0-insider (f3dbcea, 2020-01-24T05:38:14.538Z)
OS version: Windows_NT x64 10.0.18363
Extensions: none
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4