From 03f204a71cd92b182ac22533d2cf751f76462482 Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com> Date: Mon, 4 Sep 2023 17:27:29 +0530 Subject: [PATCH] chore: invalid url content (#2082) --- space/components/views/project-details.tsx | 18 ++++++++++++++++-- space/public/something-went-wrong.svg | 3 +++ 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 space/public/something-went-wrong.svg diff --git a/space/components/views/project-details.tsx b/space/components/views/project-details.tsx index 9a6cd824c..1c9c6ddc9 100644 --- a/space/components/views/project-details.tsx +++ b/space/components/views/project-details.tsx @@ -1,5 +1,9 @@ import { useEffect } from "react"; + +import Image from "next/image"; import { useRouter } from "next/router"; + +// mobx import { observer } from "mobx-react-lite"; // components import { IssueListView } from "components/issues/board-views/list"; @@ -11,6 +15,8 @@ import { IssuePeekOverview } from "components/issues/peek-overview"; // mobx store import { RootStore } from "store/root"; import { useMobxStore } from "lib/mobx/store-provider"; +// assets +import SomethingWentWrongImage from "public/something-went-wrong.svg"; export const ProjectDetailsView = observer(() => { const router = useRouter(); @@ -55,8 +61,16 @@ export const ProjectDetailsView = observer(() => { ) : ( <> {issueStore?.error ? ( -
The public board does not exist. Please check the URL.
+