File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11import { useState } from 'react' ;
2- import axios from 'axios ' ;
2+ import { request } from '@/api ' ;
33import { Button } from '@/components/ui/button' ;
44import { Input } from '@/components/ui/input' ;
55import AddressSearch from '@/components/SignUp/AddressSearch' ;
@@ -113,14 +113,14 @@ export default function SignTest({ onNext, onPrev }) {
113113 } ;
114114
115115 try {
116- const response = await request ( 'POST ' , '/sign/up/helper' , requestData )
117- console . log ( 'Successfully signed up:' , response ) ;
116+ const response = await request ( 'post ' , '/sign/up/helper' , requestData ) ;
117+ console . log ( response ) ;
118118 } catch ( error ) {
119- console . error ( 'Error signing up :' , error ) ;
119+ console . error ( 'API 요청 실패 :' , error ) ;
120120 }
121121
122122 console . log ( 'requestData:' , requestData ) ; // requestData 객체 출력
123-
123+ } ;
124124
125125 const toggleLicense = ( licenseType ) => {
126126 setFormData ( ( prev ) => {
You can’t perform that action at this time.
0 commit comments