Merge branch 'main' into hailey/linking-referrers
This commit is contained in:
@@ -44,7 +44,8 @@ export function setContains(key: string, value: string): boolean {
|
||||
|
||||
// iOS returns `null` if a value does not exist, and Android returns `undefined. Normalize these here for JS types
|
||||
function nullToUndefined(value: any) {
|
||||
if (value === null) {
|
||||
if (value == null) {
|
||||
return undefined
|
||||
}
|
||||
return value
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user