Commit Graph
4 Commits
Author SHA1 Message Date
adrianbonpin 18b9e5d0db fix: resolve lint issues in settings components
- Fix react-hooks/set-state-in-effect by inlining data fetch in useEffect
- Replace useCallback-wrapped fetch functions with plain async functions
- Replace window.location.href with window.location.assign()
- Remove unused eslint-disable directives
- Fix double res.json() call in passkey refresh
2026-04-26 11:31:01 -05:00
adrianbonpin 86d9c9b1fa fix: resolve all lint errors 2026-04-25 14:46:40 +08:00
adrianbonpin 8d058f02dd fix(eden): resolve server/client detection and bundler issues
- Use typeof window === undefined for standard Next.js server detection
- Use NEXT_PUBLIC_SITE_URL env var instead of hardcoded localhost:3000
- Use require() for server branch to prevent Elysia from entering client bundle
- Add type assertion on require() to preserve Eden Treaty types
2026-04-25 13:25:38 +08:00
adrianbonpin b2a9094819 feat(api): add isomorphic Eden Treaty client for end-to-end type safety 2026-04-25 13:17:59 +08:00