refactor: remove EAInvite flag

This commit is contained in:
liyasthomas
2021-10-03 15:49:04 +05:30
parent 81ae70ee04
commit 258f79604f
5 changed files with 43 additions and 60 deletions

View File

@@ -28,10 +28,6 @@ export interface UserInfo {
* URL to the profile photo of the user (or null if none available)
*/
photoURL: string | null
/**
* Whether the user has access to Early Access features
*/
eaInvited: boolean
}
/**
@@ -65,7 +61,6 @@ async function updateUserInfo() {
displayName
email
photoURL
eaInvited
}
}
`,
@@ -76,7 +71,6 @@ async function updateUserInfo() {
displayName: data.me.displayName,
email: data.me.email,
photoURL: data.me.photoURL,
eaInvited: data.me.eaInvited,
})
} catch (e) {
currentUserInfo$.next(null)