Skip to content

Commit

Permalink
Merge branch 'GDSC-Hongik:dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
GDSChongik authored Aug 22, 2024
2 parents c59ec53 + 9c83fa9 commit 815da28
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/components/ApiErrorBoundary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,5 @@ export default function ApiErrorBoundary({
}
}

return (
<ErrorBoundary
{...rest}
onError={(error) => handleError(error as AxiosError)}
fallbackRender={() => <NotFoundPage />}>
{children}
</ErrorBoundary>
);
return <>{children}</>;
}

0 comments on commit 815da28

Please sign in to comment.