diff --git a/app/(pages)/deliverables/page.tsx b/app/(pages)/deliverables/page.tsx index 343d222..b64a9c2 100644 --- a/app/(pages)/deliverables/page.tsx +++ b/app/(pages)/deliverables/page.tsx @@ -5,8 +5,10 @@ import { ArrowLeft, Heart } from "lucide-react"; import React from "react"; import ReactMarkdown, { Components } from "react-markdown"; import remarkGfm from "remark-gfm"; +import { useRouter } from "next/navigation"; const ReadmePage = () => { + const router = useRouter(); const readmeContent = ` ## Attune Heart Therapy @@ -39,7 +41,6 @@ Your Attune Heart Therapy platform includes a comprehensive system for managing **Email Address:** \`Hello@AttuneHeartTherapy.com\` -**Password:** \`G&n2S;ffTc8f\` ### Step 3: Access Dashboard @@ -296,7 +297,7 @@ For technical assistance, questions, or issues:
diff --git a/components/ForgotPasswordDialog.tsx b/components/ForgotPasswordDialog.tsx index db59f4c..fee45f4 100644 --- a/components/ForgotPasswordDialog.tsx +++ b/components/ForgotPasswordDialog.tsx @@ -457,3 +457,7 @@ export function ForgotPasswordDialog({ open, onOpenChange, onSuccess }: ForgotPa ); } + + + + diff --git a/lib/api_urls.ts b/lib/api_urls.ts index 297fc83..564b998 100644 --- a/lib/api_urls.ts +++ b/lib/api_urls.ts @@ -1,13 +1,5 @@ // Get API base URL from environment variable -const getApiBaseUrl = () => { - const baseUrl = process.env.NEXT_PUBLIC_API_URL || ""; - // Remove trailing slash if present - const cleanUrl = baseUrl.replace(/\/$/, ""); - // Add /api if not already present - return cleanUrl ? `${cleanUrl}/api` : ""; -}; - -export const API_BASE_URL = getApiBaseUrl(); +export const API_BASE_URL = process.env.NEXT_PUBLIC_API_URL; export const API_ENDPOINTS = { auth: {