From 8b43c65886a6c48253556ce703e651ba989d12be Mon Sep 17 00:00:00 2001 From: Rafi Arrafif Date: Tue, 2 Sep 2025 11:24:06 +0700 Subject: [PATCH] :bulb: (docs-code) create simple code documentation --- features/oauth-callback/ui/LoadingProcess.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/features/oauth-callback/ui/LoadingProcess.tsx b/features/oauth-callback/ui/LoadingProcess.tsx index bc70b56..29e0982 100644 --- a/features/oauth-callback/ui/LoadingProcess.tsx +++ b/features/oauth-callback/ui/LoadingProcess.tsx @@ -7,8 +7,10 @@ import { useParams } from "next/navigation"; import { useRunOnce } from "@/shared/hooks/useRunOnce"; const LoadingProcess = () => { + // Access the URL parameters const params = useParams(); + // Forward the callback response to the backend server useRunOnce("forwardCallbackResponseToBackend", async () => { try { await SendCallbackToServer(