File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
front/src/components/Captcha Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 11import { ChangeEvent , useEffect , useRef , useState } from 'react' ;
2+ import { Link } from 'react-router-dom' ;
23import { LoadCanvasTemplate , loadCaptchaEnginge , validateCaptcha } from 'react-simple-captcha' ;
34
45import Button from '@/components/common/Button.tsx' ;
@@ -66,8 +67,10 @@ export default function Captcha({ goNextStep }: CaptchaProps) {
6667 </ ul >
6768
6869 < div className = "flex gap-4" >
69- < Button color = { 'cancel' } >
70- < span className = "text-label1 text-typo-display" > 취소</ span >
70+ < Button color = { 'cancel' } asChild >
71+ < Link to = { '/' } className = "text-label1 text-typo-display" >
72+ 취소
73+ </ Link >
7174 </ Button >
7275 < Button color = { 'primary' } onClick = { validateAndGoNextStep } >
7376 < span className = "text-label1 text-typo-display" > 확인</ span >
You can’t perform that action at this time.
0 commit comments