Skip to content

Commit 200da3a

Browse files
[FSSDK-10980] optional chain removed
1 parent 7713f4d commit 200da3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ class OptimizelyReactSDKClient implements ReactSDKClient {
383383

384384
public async setUser(userInfo: UserInfo): Promise<void> {
385385
// 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) {
386+
if (userInfo.id === null && this.odpExplicitlyOff) {
387387
return;
388388
}
389389
this.user = {

0 commit comments

Comments
 (0)