We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7713f4d commit 200da3aCopy full SHA for 200da3a
src/client.ts
@@ -383,7 +383,7 @@ class OptimizelyReactSDKClient implements ReactSDKClient {
383
384
public async setUser(userInfo: UserInfo): Promise<void> {
385
// If user id is not present and ODP is explicitly off, user promise will be pending until setUser is called again with proper user id
386
- if (userInfo?.id === null && this.odpExplicitlyOff) {
+ if (userInfo.id === null && this.odpExplicitlyOff) {
387
return;
388
}
389
this.user = {
0 commit comments