Skip to content

Commit 0a1fcf1

Browse files
authored
Merge pull request #142 from GDGoCINHA/Fix(#4)/SignupNavigate
Fix(#4)/ 변경된 경로에 따라 회원가입 페이지로 리디렉션 수정
2 parents 86325f0 + ba055c7 commit 0a1fcf1

4 files changed

Lines changed: 195 additions & 218 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
"type-hangul": "^0.2.4"
3333
},
3434
"devDependencies": {
35-
"@types/node": "^22.15.17",
36-
"@types/react": "^19.1.4",
35+
"@types/node": "22.15.21",
36+
"@types/react": "19.1.5",
3737
"eslint": "^8",
3838
"eslint-config-next": "15.0.2",
3939
"postcss": "^8",

src/components/auth/screen/AuthLogin.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export default function AuthLogin({ router, onSubmit, errors, password, setPassw
9393
</Form>
9494
<Button
9595
onPress={() => {
96-
router.push('/signup');
96+
router.push('/auth/signup');
9797
}}
9898
color='success'
9999
className='!mt-[15px] h-[48px] mobile:h-[44px] w-full rounded-full !bg-white'

src/services/auth/signin/google/GoogleAuth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const GoogleAuthComponent = () => {
3333
alert('회원 정보가 없습니다. 회원가입을 완료해주세요.');
3434
sessionStorage.setItem('signup_email', email);
3535
sessionStorage.setItem('signup_name', name);
36-
router.push('/signup');
36+
router.push('/auth/signup');
3737
}
3838
})
3939
.catch(() => {

0 commit comments

Comments
 (0)