- Refactor `useHandleSignInCallback` to return only hook data without an internal callback. - Move redirect logic into a separate `useEffect` to decouple navigation from the callback lifecycle. - Ensure the user is redirected to the saved path or `/user-center` immediately upon authentication. |
||
|---|---|---|
| __test__ | ||
| .vscode | ||
| prisma | ||
| src | ||
| .env.example | ||
| .gitignore | ||
| bun-env.d.ts | ||
| bun.lock | ||
| bunfig.toml | ||
| docker-compose.yml | ||
| dockerfile | ||
| package.json | ||
| prisma.config.ts | ||
| README.md | ||
| tsconfig.json | ||