From 46c6e27aec5b5ed43b9d672ab0b41686ffbf8993 Mon Sep 17 00:00:00 2001 From: asiaznik Date: Thu, 7 Mar 2024 12:09:18 +0100 Subject: [PATCH] chore: remove app failure component --- .../src/components/app-failure/app-failure.tsx | 16 ---------------- .../src/components/app-failure/index.ts | 1 - libs/environment/src/components/index.ts | 1 - 3 files changed, 18 deletions(-) delete mode 100644 libs/environment/src/components/app-failure/app-failure.tsx delete mode 100644 libs/environment/src/components/app-failure/index.ts diff --git a/libs/environment/src/components/app-failure/app-failure.tsx b/libs/environment/src/components/app-failure/app-failure.tsx deleted file mode 100644 index 7860b73b1..000000000 --- a/libs/environment/src/components/app-failure/app-failure.tsx +++ /dev/null @@ -1,16 +0,0 @@ -import { Splash } from '@vegaprotocol/ui-toolkit'; - -export const AppFailure = ({ - title, - error, -}: { - title: string; - error?: string | null; -}) => { - return ( - -

{title}

- {error &&

{error}

} -
- ); -}; diff --git a/libs/environment/src/components/app-failure/index.ts b/libs/environment/src/components/app-failure/index.ts deleted file mode 100644 index e3fd1b4c8..000000000 --- a/libs/environment/src/components/app-failure/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './app-failure'; diff --git a/libs/environment/src/components/index.ts b/libs/environment/src/components/index.ts index 6e0109c44..64bacb14d 100644 --- a/libs/environment/src/components/index.ts +++ b/libs/environment/src/components/index.ts @@ -1,4 +1,3 @@ -export * from './app-failure'; export * from './app-loader'; export * from './network-loader'; export * from './network-switcher';