From 34ee25921623818ba7b03b8542d351fe51bc8076 Mon Sep 17 00:00:00 2001 From: "HATEC\\SPVDEV001" Date: Fri, 9 Feb 2024 10:28:39 +0700 Subject: if auth false di pembayaran tempo --- src/lib/form/components/PembayaranTempo.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/form/components') diff --git a/src/lib/form/components/PembayaranTempo.jsx b/src/lib/form/components/PembayaranTempo.jsx index 9591a0b0..fc4d248a 100644 --- a/src/lib/form/components/PembayaranTempo.jsx +++ b/src/lib/form/components/PembayaranTempo.jsx @@ -29,7 +29,7 @@ const PembayaranTempo = () => { const auth = useAuth() useEffect(() => { - if(auth) { + if(auth == false) { router.push('/login') } },[auth]) -- cgit v1.2.3