We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6a6f90 commit ee254c0Copy full SHA for ee254c0
src/routes/callback.tsx
@@ -56,7 +56,7 @@ function Callback() {
56
console.log('使用者資訊:', userData);
57
setUserInfo(userData);
58
59
- navigate({ to: '/' }); // 取得資料後導航到首頁
+ navigate({ to: '/signup', search: {userData: JSON.stringify(userData)}});
60
} catch (error) {
61
console.error('OAuth 登入失敗:', error);
62
navigate({ to: '/' });
0 commit comments