Skip to content

Commit

Permalink
refactor: ApiFallbackProps 타입 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
llqqssttyy committed Aug 1, 2024
1 parent 74daa66 commit dc12a65
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions frontend/src/components/common/ApiErrorBoundary/types.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import ApiError from '@api/ApiError';
import { FallbackProps } from 'react-error-boundary';

/**
* ApiErrorBoundary의 FallbackComponent에 전달되는 props
*/
export interface ApiFallbackProps extends FallbackProps {
error: ApiError;
}

0 comments on commit dc12a65

Please sign in to comment.