We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c38cb9f + 262b5a8 commit 18a87bcCopy full SHA for 18a87bc
src/services/link/useLink.ts
@@ -116,7 +116,7 @@ export const useGetPopularLinks = () => {
116
// 인기 링크 조회 서버 함수
117
export const fetchGetPopularLinks = async () => {
118
try {
119
- const response = await apiClient.get(`/api/links`)
+ const response = await fetch(`/api/links`)
120
return response
121
} catch (e) {
122
if (e instanceof Error) throw new Error(e.message)
0 commit comments