This commit is contained in:
puzhen 2025-11-20 20:54:22 +08:00
parent aa3c39afd2
commit 2f4feb41b7

View file

@ -9,7 +9,6 @@ import animationData from "@/assets/animation/onboarding_success.json";
import CloseNoticeDialog from "../Dialog/CloseNotice";
import { useInstallationUI } from "@/store/installationStore";
import { useInstallationSetup } from "@/hooks/useInstallationSetup";
import InstallationErrorDialog from "../InstallStep/InstallationErrorDialog/InstallationErrorDialog";
import Halo from "../Halo";
import useChatStoreAdapter from "@/hooks/useChatStoreAdapter";
@ -27,11 +26,8 @@ const Layout = () => {
const {
installationState,
latestLog,
error,
isInstalling,
shouldShowInstallScreen,
retryInstallation,
} = useInstallationUI();
// Setup installation IPC listeners and state synchronization
@ -111,14 +107,6 @@ const Layout = () => {
</>
)}
{(error != "" && error !=undefined) &&
<InstallationErrorDialog
error={error}
installationState={installationState}
latestLog={latestLog}
retryInstallation={retryInstallation}/>
}
<CloseNoticeDialog
onOpenChange={setNoticeOpen}
open={noticeOpen}