Both library uses @emotion/react and @emotion/styled library.
Bug: function createStyles(token) - replaced ant token on MUI token theme.
Please fix this, we cann't update MUI to 5-6 version (legacy).
Simple code for reproduce:


Actualy token in console.log() - It's MUI5 theme , not Ant token

Needed token in console.log - ant token (I remove from code).

MUI Migration Guide v5 (section with emotions deps). https://mui.com/material-ui/migration/migration-v4/?srsltid=AfmBOor9aEWjy1M68N5Ulh8fW4-Jf7rKmtlqwe1eR6R0uAC2LpbCp0QD#peer-dependencies
Please help, very critical bug
Both library uses @emotion/react and @emotion/styled library.
Bug: function
createStyles(token)- replaced ant token on MUI token theme.Please fix this, we cann't update MUI to 5-6 version (legacy).
Simple code for reproduce:
Actualy token in console.log() - It's MUI5 theme , not Ant token

Needed token in console.log - ant token (I remove from code).
MUI Migration Guide v5 (section with emotions deps). https://mui.com/material-ui/migration/migration-v4/?srsltid=AfmBOor9aEWjy1M68N5Ulh8fW4-Jf7rKmtlqwe1eR6R0uAC2LpbCp0QD#peer-dependencies
Please help, very critical bug