From 62060fd564cfab5ecb71859c0244d0f4e0f4b37b Mon Sep 17 00:00:00 2001 From: Fatemeh sh Date: Tue, 10 Sep 2024 22:54:08 +0330 Subject: [PATCH] update services url by switching between direct/indirect mode --- src/Views/Pages/GetButton/index.scss | 2 +- src/Views/Pages/GetButton/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Views/Pages/GetButton/index.scss b/src/Views/Pages/GetButton/index.scss index 76a2ec4..884e3a4 100644 --- a/src/Views/Pages/GetButton/index.scss +++ b/src/Views/Pages/GetButton/index.scss @@ -1,5 +1,5 @@ .get-button-layout { - @apply w-full min-h-screen flex-center py-24; + @apply w-full min-h-screen flex-center py-24 animate-fade-in; .get-button-container { @apply py-8 px-6 sm:p-8 sm:pb-14 rounded-lg bg-white bg-opacity-50 w-11/12 sm:w-4/5 md:w-2/3 lg:w-1/2 mx-auto z-10 flex flex-col; diff --git a/src/Views/Pages/GetButton/index.tsx b/src/Views/Pages/GetButton/index.tsx index f23d7e3..b776114 100644 --- a/src/Views/Pages/GetButton/index.tsx +++ b/src/Views/Pages/GetButton/index.tsx @@ -126,7 +126,7 @@ const GetButton = () => { // ? ------------------------------ useEffect ------------------------------- useEffect(() => { if (temp.showCode) getCode(); - }, [selectedServices]); + }, [selectedServices, temp.shareMode]); // -------------------------------------------------------------------------- return (