Closed comerc closed 5 years ago
I have code with commented variable color:
render() { const { b } = this.state // const color = b ? 'red' : 'green' return styled(styles)` container { /* background: ${color}; */ } `( <container as="button" onClick={this.handleClick}> Dummy </container>, ) }
And I have unexpected error:
./src/components/ReshadowPage/ReshadowPage.tsx Line 24: 'color' is not defined no-undef
thank you for the issue!
fixed in #78
we'll close it in the next release
I have code with commented variable color:
And I have unexpected error: