Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ppl-fasilkom-ui
PPL Sosial
tbcare
tbcare-mobile
Commits
754511bb
Commit
754511bb
authored
Jun 03, 2021
by
Zafir Rasyidi Taufik
Browse files
[GREEN]Addedinitial signout to make UI better
parent
66b3266b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/scenes/LoginPage/index.tsx
View file @
754511bb
...
...
@@ -74,6 +74,7 @@ const LoginPage = () => {
const
signInWithGoogle
=
async
()
=>
{
try
{
await
GoogleSignin
.
signOut
();
await
GoogleSignin
.
hasPlayServices
();
const
tempUserInfo
=
await
GoogleSignin
.
signIn
();
setUserInfo
(
tempUserInfo
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment