mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix ThemeType casing issue (#18039)
This commit is contained in:
parent
0fca0e3542
commit
000dbb976c
@ -160,7 +160,7 @@ export default class Routes extends Component {
|
||||
const { theme } = this.props;
|
||||
|
||||
if (theme !== prevProps.theme) {
|
||||
if (theme === ThemeType.OS) {
|
||||
if (theme === ThemeType.os) {
|
||||
this.handleOsTheme();
|
||||
} else {
|
||||
document.documentElement.setAttribute('data-theme', theme);
|
||||
|
Loading…
Reference in New Issue
Block a user