diff --git a/app/layouts/news/form-login.tsx b/app/layouts/news/form-login.tsx index 551ae72..fba52e7 100644 --- a/app/layouts/news/form-login.tsx +++ b/app/layouts/news/form-login.tsx @@ -45,7 +45,7 @@ export const FormLogin = () => { setError(undefined) setIsLoginOpen(false) - if (fetcher.data?.user.subscribe_status === 'inactive') { + if (fetcher.data?.user.subscribe_plan_code === 'basic') { setIsInitSubscribeOpen(true) } // eslint-disable-next-line react-hooks/exhaustive-deps