From 0106311a2ad4147f1ecc5807346fd8359ee24bbd Mon Sep 17 00:00:00 2001 From: CrescentLeaf Date: Wed, 24 Sep 2025 23:09:55 +0800 Subject: [PATCH] chore: make lint happy --- client/ui/AppMobile.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/ui/AppMobile.tsx b/client/ui/AppMobile.tsx index 9ae0c7f..7e50629 100644 --- a/client/ui/AppMobile.tsx +++ b/client/ui/AppMobile.tsx @@ -64,13 +64,13 @@ export default function AppMobile() { const chatFragmentDialogRef = React.useRef(null) React.useEffect(() => { - const shadow = chatFragmentDialogRef.current!.shadowRoot - const panel = shadow.querySelector(".panel") + const shadow = chatFragmentDialogRef.current!.shadowRoot as ShadowRoot + const panel = shadow.querySelector(".panel") as HTMLElement panel.style.padding = '0' panel.style.color = 'inherit' panel.style.backgroundColor = 'rgb(var(--mdui-color-background))' panel.style.setProperty('--mdui-color-background', 'inherit') - const body = shadow.querySelector(".body") + const body = shadow.querySelector(".body") as HTMLElement body.style.height = '100%' body.style.display = 'flex' })