diff --git a/front/apps/mobile/app/(public)/connection-error.tsx b/front/apps/mobile/app/(public)/connection-error.tsx index 2a81145d..a7d7d1c7 100644 --- a/front/apps/mobile/app/(public)/connection-error.tsx +++ b/front/apps/mobile/app/(public)/connection-error.tsx @@ -18,33 +18,6 @@ * along with Kyoo. If not, see . */ -import { ConnectionErrorContext } from "@kyoo/models"; -import { Button, H1, P, ts } from "@kyoo/primitives"; -import { useRouter } from "expo-router"; -import { useContext } from "react"; -import { useTranslation } from "react-i18next"; -import { View } from "react-native"; -import { useYoshiki } from "yoshiki/native"; - -const ConnectionError = () => { - const { css } = useYoshiki(); - const { t } = useTranslation(); - const router = useRouter(); - const { error, retry } = useContext(ConnectionErrorContext); - - return ( - -

{t("errors.connection")}

-

{error?.errors[0] ?? t("error.unknown")}

-

{t("errors.connection-tips")}

-