summaryrefslogtreecommitdiff
path: root/src/lib/form
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/form')
-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])