Skip to content

Commit ee254c0

Browse files
authored
Update callback.tsx
1 parent d6a6f90 commit ee254c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/callback.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function Callback() {
5656
console.log('使用者資訊:', userData);
5757
setUserInfo(userData);
5858

59-
navigate({ to: '/' }); // 取得資料後導航到首頁
59+
navigate({ to: '/signup', search: {userData: JSON.stringify(userData)}});
6060
} catch (error) {
6161
console.error('OAuth 登入失敗:', error);
6262
navigate({ to: '/' });

0 commit comments

Comments
 (0)