Skip to content

Current instance does not have CSS module named "$style"  #12822

@mittalyashu

Description

@mittalyashu

Version

2.7.11

Reproduction link

codesandbox.io

Steps to reproduce

Using CSS modules to define styles in a component.

What is expected?

It should not throw the error.

Reverting back to v2.7.10, it logs the actual CSS module class.

CleanShot 2022-10-12 at 15 02 18@2x

What is actually happening?

It's throwing an error in console.

Current instance does not have CSS module named "$style"

CleanShot 2022-10-12 at 15 01 44@2x

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions