From f774b3f95f51f84fa5d4b9e75cc08a239e0679d6 Mon Sep 17 00:00:00 2001 From: ayangweb <75017711+ayangweb@users.noreply.github.com> Date: Mon, 24 Feb 2025 15:46:20 +0800 Subject: [PATCH] feat: windows uses the default window angle (#184) --- src/pages/main/index.tsx | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/src/pages/main/index.tsx b/src/pages/main/index.tsx index 2e1843c6..eca0a6db 100644 --- a/src/pages/main/index.tsx +++ b/src/pages/main/index.tsx @@ -9,6 +9,8 @@ import ChatAI, { ChatAIRef } from "@/components/Assistant/Chat"; import { useAppStore } from "@/stores/appStore"; import { useAuthStore } from "@/stores/authStore"; import ApiDetails from "@/components/Common/ApiDetails"; +import clsx from "clsx"; +import { isWin } from "@/utils/platform"; export default function DesktopApp() { const initializeListeners = useAppStore((state) => state.initializeListeners); @@ -88,11 +90,17 @@ export default function DesktopApp() { return (