added sse and description for withdraw

This commit is contained in:
2026-06-18 19:09:50 +03:30
parent 3e74699f7e
commit f3aaf9d7c0
10 changed files with 921 additions and 73 deletions
+3
View File
@@ -9,6 +9,7 @@ import { applyProjectTheme } from '@/utils/config'
import { useSettingsStore } from '@/store/settingsStore'
import { useUserStore } from '@/store/userStore'
import { getToken } from '@/utils'
import { initPriceRealtimeChannel } from '@/utils/priceSocket'
type BootWindow = Window & {
__BOOT_TIMEOUT__?: number
@@ -98,6 +99,8 @@ export async function bootstrapApp() {
await withTimeout(settingsStore.fetchSettings(), 45000, 'Settings loading timeout')
initPriceRealtimeChannel((key) => settingsStore.getSettingByKey(key))
if (getToken()) {
await withTimeout(userStore.getMyInfo(), 45000, 'User session loading timeout')
}