Skip to content

Commit

Permalink
synchronize
Browse files Browse the repository at this point in the history
  • Loading branch information
SeohyunLilyChoi committed Jan 1, 2025
1 parent 5480b2c commit 6e1a832
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/routes/ApiTest.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export const ApiTest = () => {
};

fetchData().catch((err: unknown) => {
// 타입 좁히기
if (err instanceof Error) {
console.error(err.message); // 에러 메시지 출력
setError('데이터를 가져오는데 실패했습니다.'); // 에러 메시지 설정
Expand Down

0 comments on commit 6e1a832

Please sign in to comment.