Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix Loading route missing theme with LoadingPage #5560

Merged
merged 1 commit into from
Nov 19, 2020

Conversation

thcolin
Copy link
Contributor

@thcolin thcolin commented Nov 19, 2020

Hello !

I've seen the loading page miss my material-ui theme palette configuration and display the default "blue" color for the <CircularProgress /> component

The issue is mainly caused because <Loading /> component isn't wrapped in a <ThemeUIProvider /> when used in CoreAdminRouter, so I created a <LoadingPage /> handling this use case

I've fixed default theme value to createMuiThem({})

@fzaninotto fzaninotto merged commit f5e0f15 into marmelab:master Nov 19, 2020
@fzaninotto
Copy link
Member

Thanks!

@fzaninotto fzaninotto added this to the 3.10.2 milestone Nov 19, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants