"use client"; import { FC } from "react"; import Image from "next/image"; import { useTheme } from "next-themes"; import { Button } from "@plane/ui"; // assets import InstanceFailureDarkImage from "public/instance/instance-failure-dark.svg"; import InstanceFailureImage from "public/instance/instance-failure.svg"; type InstanceFailureViewProps = { // mutate: () => void; }; export const InstanceFailureView: FC = () => { const { resolvedTheme } = useTheme(); const instanceImage = resolvedTheme === "dark" ? InstanceFailureDarkImage : InstanceFailureImage; const handleRetry = () => { window.location.reload(); }; return (
Plane Logo

Unable to fetch instance details.

We were unable to fetch the details of the instance.
Fret not, it might just be a connectivity issue.

); };