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