mirror of
https://github.com/graphql-hive/console
synced 2026-05-24 09:38:26 +00:00
fix operations styles (#62)
This commit is contained in:
parent
20e3129caa
commit
ffac3478e9
1 changed files with 1 additions and 3 deletions
|
|
@ -36,9 +36,7 @@ export default class MyDocument extends Document {
|
|||
id="force-dark-mode"
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
if (window.location.pathname.startsWith('/v2')) {
|
||||
localStorage['chakra-ui-color-mode'] = 'dark';
|
||||
}
|
||||
localStorage['chakra-ui-color-mode'] = 'dark';
|
||||
document.documentElement.classList.add('dark');
|
||||
`,
|
||||
}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue