Cursor bug with styles

Every time I change styles somewhere in my react project, they constantly fly off, literally any style change - after saving the file instead of seeing the changes I see zeroing of all the styles of the component in which I changed the styles, that is, if I change styles in the components/Header/Header.module.css folder - all the styles from this folder fly off, but the rest do not. If I change the general styles in the src/index.css folder, then all the styles from this file will fly off, to restore the page I have to restart the project every time, please fix it.