fix: export user signal from userStore.tsx

- Add user and isLoading to exports in userStore.tsx
- Enables Navbar and PanelLayout to import and use Signals store
- Fixes "does not provide an export named 'user'" error

 Resolves: Import error for user signal
This commit is contained in:
Haitao Pan 2025-11-05 18:22:02 +08:00
parent b72cbb8211
commit 431278f20f

View File

@ -373,6 +373,10 @@ export const useMailStore = (selector?: (state: MailState) => any) => {
// Export individual mail store exports
export {
// User signals
user,
isLoading,
// Mail signals
mailTenantId,
mailSelectedMessageId,
mailLabel,