refactor(env): consolidate BACKEND_URL imports in GoogleLoginButton and DocumentTabContent

This commit is contained in:
Anish Sarkar 2026-05-21 00:54:22 +05:30
parent 7a0de6d377
commit 6e27f63d85
2 changed files with 2 additions and 5 deletions

View file

@ -3,9 +3,9 @@ import { useTranslations } from "next-intl";
import { useState } from "react";
import { Logo } from "@/components/Logo";
import { Button } from "@/components/ui/button";
import { BACKEND_URL } from "@/lib/env-config";
import { trackLoginAttempt } from "@/lib/posthog/events";
import { AmbientBackground } from "./AmbientBackground";
<<<<<<< HEAD
function GoogleGLogo({ className }: { className?: string }) {
return (
@ -35,9 +35,6 @@ function GoogleGLogo({ className }: { className?: string }) {
);
}
=======
import { BACKEND_URL } from "@/lib/env-config";
>>>>>>> 1127aedb4 (refactor(env): replace inline process.env reads with BACKEND_URL in editor, chat, dashboard and settings)
export function GoogleLoginButton() {
const t = useTranslations("auth");
const [isRedirecting, setIsRedirecting] = useState(false);