summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorHATEC\SPVDEV001 <tri.susilo@altama.co.id>2024-02-09 10:28:39 +0700
committerHATEC\SPVDEV001 <tri.susilo@altama.co.id>2024-02-09 10:28:39 +0700
commit34ee25921623818ba7b03b8542d351fe51bc8076 (patch)
treeee49b031ebc2ecc8c5e516367c1ee4e051dcd50b /src/lib
parent5ea7cbe7aa564d66a3660839d5a2c40d877647cc (diff)
if auth false di pembayaran tempo
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/form/components/PembayaranTempo.jsx2
1 files changed, 1 insertions, 1 deletions
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])