perf: improve loading speed (#116)

This commit is contained in:
Cody Tseng 2025-02-12 22:09:00 +08:00 committed by GitHub
parent 6f91c200a9
commit d5f46690c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 705 additions and 514 deletions

View file

@ -1,6 +1,6 @@
import { randomString } from '@/lib/random'
import { isWebsocketUrl, normalizeUrl } from '@/lib/url'
import storage from '@/services/storage.service'
import storage from '@/services/local-storage.service'
import { TRelaySet } from '@/types'
import { createContext, useContext, useEffect, useState } from 'react'