component from refinedev/antd doesn't follow the ConfigProvider dark mode

component from refinedev/antd doesn't follow the ConfigProvider dark mode after build. The theme works on yarn dev. but when it gets built, it doesn't follow the theme
Was this page helpful?