Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy: axios 파일 수정 #88

Merged
merged 34 commits into from
Nov 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
63e477f
style : 전역 디자인 시스템 세팅
judahhh Oct 23, 2023
d8fdea9
style : 전역 디자인 시스템 세팅
judahhh Oct 23, 2023
35f7d92
chore : 이슈 템플릿 수정
judahhh Oct 23, 2023
d50f560
refactor: build-test.yml 파일 수정 (#14)
wukdddang Oct 24, 2023
7aacb40
feature: deploy.yml 파일 추가 (#15)
wukdddang Oct 24, 2023
eece071
[Style] 모바일 레이아웃 작업 (#19)
judahhh Oct 24, 2023
e0039d9
style: HeroImage, AlertText 공통 컴포넌트 제작 (#24)
from1to2 Oct 25, 2023
f7cc442
style: Input 공통 컴포넌트 (#26)
from1to2 Oct 25, 2023
0dd38b2
feature: Button 공통 컴포넌트 제작 (#20)
wukdddang Oct 25, 2023
2a7eb36
style : flexbox 컴포넌트 제작 (#32)
judahhh Oct 26, 2023
230613f
style : spacing 컴포넌트 생성 (#33)
judahhh Oct 26, 2023
cb42a5a
[Feature] mock service worker settings (#29)
judahhh Oct 26, 2023
0b837a1
style: BottomSheet 컴포넌트 제작 (#34)
wukdddang Oct 26, 2023
ccca7bb
[Style/] navigation bar 컴포넌트 제작 (#37)
judahhh Oct 26, 2023
b44914c
style: CountNumber 공통 컴포넌트 제작 (#38)
from1to2 Oct 26, 2023
7f3ccff
chore : CountNumber 폴더 구조 변경
judahhh Oct 26, 2023
a93ba29
style: InputTimer 공통 컴포넌트 제작 (#41)
from1to2 Oct 26, 2023
386f00d
style : 로딩 컴포넌트 제작 (#47)
judahhh Oct 27, 2023
ff1ffbf
style: WhiteSelectorButton, DarkSelectorButton 공통 컴포넌트 (#46)
from1to2 Oct 27, 2023
f24a9b6
style: ListRow 컴포넌트 제작 (#43)
wukdddang Oct 30, 2023
cc07575
style: useToast 커스텀 훅 제작 (#48)
wukdddang Oct 30, 2023
1560475
[Style] Modal 컴포넌트 제작 (#52)
judahhh Oct 30, 2023
2099b00
style: selector button 공통 컴포넌트 (#55)
from1to2 Oct 31, 2023
c219120
style: Appbar, Card, GradationBackground, PageContainer 컴포넌트 추가 + Hom…
wukdddang Oct 31, 2023
f29d741
style: PageHeader 컴포넌트 제작 (#59)
wukdddang Oct 31, 2023
78c0f0d
[Style] chatting bubble 컴포넌트 제작 및 소켓 라이브러리 설치 (#65)
judahhh Nov 1, 2023
de5f268
style: BusinessCardContainer 공통 컴포넌트 (재PR) (#62)
from1to2 Nov 1, 2023
fb88c7d
test: API Test 코드 (#76)
from1to2 Nov 2, 2023
7d6c994
test: retest (#78)
from1to2 Nov 2, 2023
03a429c
fix: vite 설정 (cors) (#80)
from1to2 Nov 2, 2023
543ddb6
fix: cors 재설정 (#82)
from1to2 Nov 2, 2023
8b394e0
fix: vite 설정 변경 (#84)
wukdddang Nov 2, 2023
3bb3694
fix: axios 파일 수정 (#86)
wukdddang Nov 2, 2023
f95b88f
Merge branch 'main' into fix/merge-conflict-axios-1
wukdddang Nov 2, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions src/apis/test.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
import axios from 'axios'

export const testWithBtn = async (nickname: string) => {
return axios.get(`http://13.125.194.230/api/v1/users/duplicate`, {
headers: {
'Referrer-Policy': 'no-referrer', // 또는 필요에 따라 다른 값
},
params: {
nickname,
},
})
return axios.get(`http://13.125.194.230/api/v1/users/duplicate?nickname=${nickname}`)
}
16 changes: 15 additions & 1 deletion src/pages/profile/ProfileDefault.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
import { useNavigate } from 'react-router-dom'

const ProfileDefault = () => {
return <div>{'ProfileDefault'}</div>
const navigate = useNavigate()

return (
<div>
<button
onClick={() => {
navigate('/profile/edit')
}}
>
{'프로필 수정으로 이동'}
</button>
</div>
)
}

export default ProfileDefault