- Add validateToken() method to userService to check if refresh token is valid - Automatically redirect to chat if user already has valid session - Show 'Checking authentication...' loading state during validation - Prevents unnecessary login if user is already authenticated - Improves UX by skipping login screen when not needed 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Rsbuild project
Setup
Install the dependencies:
pnpm install
Get started
Start the dev server, and the app will be available at http://localhost:3000.
pnpm dev
Build the app for production:
pnpm build
Preview the production build locally:
pnpm preview
Learn more
To learn more about Rsbuild, check out the following resources:
- Rsbuild documentation - explore Rsbuild features and APIs.
- Rsbuild GitHub repository - your feedback and contributions are welcome!