Skip to content

Commit

Permalink
fix: error type - any 지정
Browse files Browse the repository at this point in the history
  • Loading branch information
yeynii committed Nov 16, 2023
1 parent b4df8ff commit 1ee228c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
},
},
queryCache: new QueryCache({
onError: (error) => {
alert(error.response.data.message);
onError: (error: any) => {
alert(error?.response?.data.message);
},
}),
})
Expand Down

0 comments on commit 1ee228c

Please sign in to comment.