fix(AppShell): handle store rehydration errors gracefully and improve initialization logic

This commit is contained in:
catlog22
2026-03-07 23:30:37 +08:00
parent 80d8954b7a
commit 723c1b0e38
2 changed files with 18 additions and 10 deletions

View File

@@ -4,6 +4,7 @@
// Manages workflow sessions, tasks, and related data
import { create } from 'zustand';
import { persist } from 'zustand/middleware';
import type {
WorkflowStore,
WorkflowState,