mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-22 22:36:06 +08:00
删除console.log
This commit is contained in:
parent
2b2ddc9b0e
commit
6ad50be6fb
|
@ -28,7 +28,6 @@ export default function (props: any) {
|
|||
useEffect(() => {
|
||||
const colorScheme =
|
||||
window.matchMedia('(prefers-color-scheme: dark)').matches && 'dark';
|
||||
console.log(colorScheme);
|
||||
let localTheme = localStorage.getItem('qinglong_dark_theme');
|
||||
if (localTheme === 'auto') {
|
||||
localTheme = null;
|
||||
|
|
Loading…
Reference in New Issue
Block a user