diff --git a/app/(default)/community/page.tsx b/app/(default)/community/page.tsx new file mode 100644 index 0000000..0439cae --- /dev/null +++ b/app/(default)/community/page.tsx @@ -0,0 +1,15 @@ +// page.tsx +"use client"; + +import { useEffect } from "react"; +import { useRouter } from "next/navigation"; + +export default function Page() { + const router = useRouter(); + + useEffect(() => { + window.location.href = "https://chat.whatsapp.com/IvpDqELtAfW5S2WElLgnlJ"; + }, []); + + return null; // No need to render anything as it will redirect immediately +} diff --git a/app/(default)/myevents/page.tsx b/app/(default)/myevents/page.tsx index 8ac5d84..ed5f9b2 100644 --- a/app/(default)/myevents/page.tsx +++ b/app/(default)/myevents/page.tsx @@ -183,7 +183,7 @@ const EventsPage = () => { {/* Past Events */}