mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-10 03:56:37 +08:00
fix
This commit is contained in:
parent
1cd8b888f3
commit
fb4d8c9c93
@ -69,9 +69,8 @@ function useSwitchTheme() {
|
|||||||
metaDescriptionLight?.setAttribute("content", themeColor);
|
metaDescriptionLight?.setAttribute("content", themeColor);
|
||||||
}
|
}
|
||||||
}, [config.theme]);
|
}, [config.theme]);
|
||||||
}
|
|
||||||
|
|
||||||
function leftDivFun() {
|
useEffect(() => {
|
||||||
/**
|
/**
|
||||||
* 左边广告位
|
* 左边广告位
|
||||||
*/
|
*/
|
||||||
@ -159,8 +158,11 @@ function leftDivFun() {
|
|||||||
// 移除自身
|
// 移除自身
|
||||||
leftDiv.remove();
|
leftDiv.remove();
|
||||||
});
|
});
|
||||||
|
}, [config]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function leftDivFun() {}
|
||||||
|
|
||||||
function useDragSideBar() {
|
function useDragSideBar() {
|
||||||
const limit = (x: number) => Math.min(500, Math.max(220, x));
|
const limit = (x: number) => Math.min(500, Math.max(220, x));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user