chore: updated powered by (#6160)

This commit is contained in:
guru_sainath 2024-12-05 15:12:37 +05:30 committed by GitHub
parent 66652a5d71
commit 6cd8af1092
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 25 additions and 15 deletions

View file

@ -4,6 +4,7 @@ import { observer } from "mobx-react";
import Image from "next/image";
import { useTheme } from "next-themes";
// components
import { PoweredBy } from "@/components/common";
import { UserAvatar } from "@/components/issues";
// hooks
import { useUser } from "@/hooks/store";
@ -45,6 +46,7 @@ export const UserLoggedIn = observer(() => {
</p>
</div>
</div>
<PoweredBy />
</div>
);
});

View file

@ -7,6 +7,7 @@ import { useTheme } from "next-themes";
import { SPACE_BASE_PATH } from "@plane/constants";
// components
import { AuthRoot } from "@/components/account";
import { PoweredBy } from "@/components/common";
// images
import PlaneBackgroundPatternDark from "@/public/auth/background-pattern-dark.svg";
import PlaneBackgroundPattern from "@/public/auth/background-pattern.svg";
@ -40,6 +41,7 @@ export const AuthView = observer(() => {
<AuthRoot />
</div>
</div>
<PoweredBy />
</div>
);
});

View file

@ -8,7 +8,7 @@ import { useTheme } from "next-themes";
import useSWR from "swr";
import { SPACE_BASE_PATH } from "@plane/constants";
// components
import { LogoSpinner, PoweredBy } from "@/components/common";
import { LogoSpinner } from "@/components/common";
import { InstanceFailureView } from "@/components/instance";
// hooks
import { useInstance, useUser } from "@/hooks/store";
@ -68,10 +68,5 @@ export const InstanceProvider = observer(({ children }: { children: ReactNode })
);
}
return (
<>
{children}
<PoweredBy />
</>
);
return children;
});