From 577996b34a3e8e7380002dd393f415cce5f338e2 Mon Sep 17 00:00:00 2001
From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com>
Date: Wed, 22 May 2024 20:24:47 +0530
Subject: [PATCH] chore: space app logo redirection updated (#4556)
---
space/components/instance/not-ready-view.tsx | 4 ++--
space/components/views/auth.tsx | 4 +++-
space/lib/instance-provider.tsx | 4 +++-
3 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/space/components/instance/not-ready-view.tsx b/space/components/instance/not-ready-view.tsx
index d30737743..f79778387 100644
--- a/space/components/instance/not-ready-view.tsx
+++ b/space/components/instance/not-ready-view.tsx
@@ -7,7 +7,7 @@ import { useTheme } from "next-themes";
// ui
import { Button } from "@plane/ui";
// helper
-import { GOD_MODE_URL } from "@/helpers/common.helper";
+import { GOD_MODE_URL, SPACE_BASE_PATH } from "@/helpers/common.helper";
// images
import PlaneTakeOffImage from "@/public/instance/plane-takeoff.png";
import PlaneBackgroundPatternDark from "public/auth/background-pattern-dark.svg";
@@ -26,7 +26,7 @@ export const InstanceNotReady: FC = () => {
-
+
diff --git a/space/components/views/auth.tsx b/space/components/views/auth.tsx
index 734266581..88023dbef 100644
--- a/space/components/views/auth.tsx
+++ b/space/components/views/auth.tsx
@@ -6,6 +6,8 @@ import Link from "next/link";
import { useTheme } from "next-themes";
// components
import { AuthRoot } from "@/components/account";
+// helpers
+import { SPACE_BASE_PATH } from "@/helpers/common.helper";
// images
import PlaneBackgroundPatternDark from "@/public/auth/background-pattern-dark.svg";
import PlaneBackgroundPattern from "@/public/auth/background-pattern.svg";
@@ -30,7 +32,7 @@ export const AuthView = observer(() => {
-
+
diff --git a/space/lib/instance-provider.tsx b/space/lib/instance-provider.tsx
index 0f9bd7e25..a4de61a16 100644
--- a/space/lib/instance-provider.tsx
+++ b/space/lib/instance-provider.tsx
@@ -9,6 +9,8 @@ import useSWR from "swr";
// components
import { LogoSpinner } from "@/components/common";
import { InstanceFailureView } from "@/components/instance";
+// helpers
+import { SPACE_BASE_PATH } from "@/helpers/common.helper";
// hooks
import { useInstance, useUser } from "@/hooks/store";
// assets
@@ -45,7 +47,7 @@ export const InstanceProvider = observer(({ children }: { children: ReactNode })