mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 01:39:52 +08:00
删除console.log
This commit is contained in:
1 parent
2b2ddc9b0e
commit
6ad50be6fb
1 file changed
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user