mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-27 02:59:22 +08:00
fix
This commit is contained in:
@@ -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));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user