Skip to content

Commit

Permalink
fix(app): remove error component (#1342)
Browse files Browse the repository at this point in the history
  • Loading branch information
happylolonly authored Nov 1, 2024
1 parent 9a36da4 commit ebb7acf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/contexts/queryClient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { CyberClient } from '@cybercongress/cyber-js';
import { Option } from 'src/types';
import { useQuery } from '@tanstack/react-query';
import { RPC_URL } from 'src/constants/config';
import APIError from 'src/components/ErrorBoundary/APIError/APIError';

const QueryClientContext = React.createContext<Option<CyberClient>>(undefined);

Expand Down Expand Up @@ -33,7 +32,8 @@ function QueryClientProvider({ children }: { children: React.ReactNode }) {
if (error) {
console.error('Error queryClient connect: ', error.message);

return <APIError />;
return 'api connection error';
// return <APIError />;
}

return (
Expand Down

0 comments on commit ebb7acf

Please sign in to comment.