stitches icon indicating copy to clipboard operation
stitches copied to clipboard

Styles doesn't apply for targeting a react component

Open ipf-hj opened this issue 3 years ago • 1 comments

Bug report

Describe the bug

Hi I'm developing on a dev server. There's a component like this and the styles won't apply unless you save again on VSCode. ` <A><Tag>{name}</Tag></A>

const A = styled('h3', { // ...

marginRight: '0.8rem', },

}) `

Screenshots

Before save image

After save image

ipf-hj avatar Sep 28 '22 07:09 ipf-hj

@hadihallak Here is the link https://codesandbox.io/s/aged-water-8t7r7u?file=/src/App.js

I'd like to get the 'Tag' component and give margin around it

It only shows the margin when I changed the style and save it On VSCode but not at the first render.

ipf-hj avatar Oct 12 '22 06:10 ipf-hj