에러 코드 네이밍 변경
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
/* eslint-disable @cspell/spellchecker */
|
||||
import { useEffect, useMemo } from 'react';
|
||||
import { CBDCAxiosFallbackProps } from '@/shared/@types/error';
|
||||
import { NiceAxiosFallbackProps } from '@/shared/@types/error';
|
||||
import { Dialog, DialogProps } from '@/shared/ui/dialogs/dialog';
|
||||
|
||||
export const KickOutError = ({ error, resetErrorBoundary }: CBDCAxiosFallbackProps) => {
|
||||
export const KickOutError = ({ error, resetErrorBoundary }: NiceAxiosFallbackProps) => {
|
||||
useEffect(() => {
|
||||
console.error('[ErrorBoundary] Kickout Error', JSON.stringify(error.response?.data));
|
||||
// clearAuthData();
|
||||
|
||||
Reference in New Issue
Block a user