Turned the code in the register optional

This commit is contained in:
Tiago Ribeiro
2023-11-26 13:59:14 +00:00
parent fa544bf4e8
commit a9bbbe8b52
9 changed files with 111 additions and 20 deletions

View File

@@ -92,7 +92,7 @@ export default function Home() {
</div>
</Layout>
)}
{(user.status === "paymentDue" || checkIfUserExpired()) && <PaymentDue user={user} reload={router.reload} />}
{(user.status === "paymentDue" || checkIfUserExpired()) && <PaymentDue hasExpired user={user} reload={router.reload} />}
</>
);
}