From f581fab39635f704d2eca252e3acaf289817ff87 Mon Sep 17 00:00:00 2001 From: DrSmoothl <1787882683@qq.com> Date: Thu, 16 Jul 2026 16:06:12 +0800 Subject: [PATCH] fix(webui): skip initial route entrance motion Prevent the top-bar title and main route content from animating during the first authenticated render. This removes first-load flashing while preserving the existing transitions for subsequent navigation. --- packages/webui/src/components/layout/main-layout.tsx | 2 +- packages/webui/src/components/layout/top-bar.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/webui/src/components/layout/main-layout.tsx b/packages/webui/src/components/layout/main-layout.tsx index 81515f8e..84e6617e 100644 --- a/packages/webui/src/components/layout/main-layout.tsx +++ b/packages/webui/src/components/layout/main-layout.tsx @@ -126,7 +126,7 @@ export function MainLayout({ status, onLogout, children }: MainLayoutProps) {
- + +