Fakultas Ilmu Komputer UI

Commit 754511bb authored by Zafir Rasyidi Taufik's avatar Zafir Rasyidi Taufik
Browse files

[GREEN]Addedinitial signout to make UI better

parent 66b3266b
......@@ -74,6 +74,7 @@ const LoginPage = () => {
const signInWithGoogle = async () => {
try {
await GoogleSignin.signOut();
await GoogleSignin.hasPlayServices();
const tempUserInfo = await GoogleSignin.signIn();
setUserInfo(tempUserInfo);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment