From d18b98304bbad2c4d8a42499df932856b8528642 Mon Sep 17 00:00:00 2001 From: Slinetrac Date: Thu, 9 Oct 2025 12:34:36 +0800 Subject: [PATCH] fix: windows title bar only --- src/pages/_layout.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/_layout.tsx b/src/pages/_layout.tsx index fe1a98df..fd2481b5 100644 --- a/src/pages/_layout.tsx +++ b/src/pages/_layout.tsx @@ -187,6 +187,8 @@ const Layout = () => { decorated, "| showing:", !decorated, + "| theme mode:", + mode, ); if (!decorated) { return ( @@ -196,7 +198,7 @@ const Layout = () => { ); } return null; - }, [decorated]); + }, [decorated, mode]); useEffect(() => { setThemeReady(true);