Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

emptyRules throws warning on expressions #50

Closed
roman-16 opened this issue Apr 27, 2018 · 3 comments
Closed

emptyRules throws warning on expressions #50

roman-16 opened this issue Apr 27, 2018 · 3 comments

Comments

@roman-16
Copy link

Example:
image

I don't think this should be a valid warning.

@mjbvz
Copy link
Contributor

mjbvz commented Jun 25, 2018

Please share the text of the code along with screenshots

@roman-16
Copy link
Author

roman-16 commented Jun 27, 2018

import * as styled from "styled-components";

const test = styled.css`
    :nth-of-type(1) {
        ${true ? "display: initial" : "display: hidden"}
    }
`;

mjbvz added a commit that referenced this issue Sep 11, 2018
@mjbvz
Copy link
Contributor

mjbvz commented Sep 11, 2018

This appears to have been fixed at some point. Added test and closing

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants