aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKumar Priyansh <[email protected]>2019-05-31 17:32:51 +0700
committerKumar Priyansh <[email protected]>2019-05-31 17:32:51 +0700
commit4352054fc99a30b7ecb48fc8487c617f33b9c7fa (patch)
tree24cc463ee4336c26659dad4831e9d6484b949040
parent25e6d1baea735376ab9af0fb9e1d1a0eaef4b21b (diff)
downloadfirebase-ecommerce-4352054fc99a30b7ecb48fc8487c617f33b9c7fa.tar.xz
firebase-ecommerce-4352054fc99a30b7ecb48fc8487c617f33b9c7fa.zip
Updated Dashboard, Added Dashboard Functions, Added Login Check to Login and Dashboard Scripts
-rw-r--r--shared/Login.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/Login.js b/shared/Login.js
index 82100be..d8352eb 100644
--- a/shared/Login.js
+++ b/shared/Login.js
@@ -26,7 +26,7 @@ $(document).ready(function(){
})
firebase.auth().onAuthStateChanged(function(user) {
if (user) {
- window.location.replace('../dashboard')
+ window.location.replace('dashboard')
}
});
}) \ No newline at end of file