mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-04-18 16:30:32 +08:00
Revert "fix: windows title bar and refactor old code (#4988)" this breaks UI page switch function
This reverts commit 03ab2410cc2ebdd1f70e9ce883d1b572fb58ff12.
This commit is contained in:
parent
0a771bd67a
commit
7e05b8f13b
@ -193,8 +193,6 @@ const Layout = () => {
|
|||||||
decorated,
|
decorated,
|
||||||
"| showing:",
|
"| showing:",
|
||||||
!decorated,
|
!decorated,
|
||||||
"| theme mode:",
|
|
||||||
mode,
|
|
||||||
);
|
);
|
||||||
if (!decorated) {
|
if (!decorated) {
|
||||||
return (
|
return (
|
||||||
@ -204,7 +202,7 @@ const Layout = () => {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}, [decorated, mode]);
|
}, [decorated]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
setThemeReady(true);
|
setThemeReady(true);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user