(
options: {
uid: string;
emailVerified: boolean;
} | null,
)
| 135 | } |
| 136 | |
| 137 | export function setUserState( |
| 138 | options: { |
| 139 | uid: string; |
| 140 | emailVerified: boolean; |
| 141 | } | null, |
| 142 | ): void { |
| 143 | if (options === null) { |
| 144 | setUserId(null); |
| 145 | setUserVerified(false); |
| 146 | } else { |
| 147 | setUserId(options.uid); |
| 148 | setUserVerified(options.emailVerified); |
| 149 | } |
| 150 | } |
| 151 | |
| 152 | export async function signInWithPopup( |
| 153 | provider: AuthProvider, |
no outgoing calls
no test coverage detected