Skip to content

Commit

Permalink
e is returned in SubscriptionPage
Browse files Browse the repository at this point in the history
  • Loading branch information
RalitsaIlieva committed Dec 15, 2023
1 parent 2a8c093 commit ef80a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/client/notifications/SubscriptionPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export default function SubscriptionPage(data: Props) {
callSubscribeApiRoute(payload).catch(() => console.log())
}, [])

const handleError = () => {
const handleError = (e: AxiosError<ApiError>) => {
setLoading(false)
setIsSuccess(false)
}
Expand Down

0 comments on commit ef80a6f

Please sign in to comment.