From f021c06468820773fafeb93d14deecff81e08a17 Mon Sep 17 00:00:00 2001 From: Hailey Date: Thu, 11 Jul 2024 19:51:54 -0700 Subject: [PATCH] Return a promise for `getReferrerInfoAsync` on web (#4777) --- modules/expo-bluesky-swiss-army/src/Referrer/index.web.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/expo-bluesky-swiss-army/src/Referrer/index.web.ts b/modules/expo-bluesky-swiss-army/src/Referrer/index.web.ts index 76f03e7c87..c092a67e73 100644 --- a/modules/expo-bluesky-swiss-army/src/Referrer/index.web.ts +++ b/modules/expo-bluesky-swiss-army/src/Referrer/index.web.ts @@ -7,7 +7,7 @@ export function getGooglePlayReferrerInfoAsync(): Promise { +export async function getReferrerInfoAsync(): Promise { if ( Platform.OS === 'web' && // for ssr @@ -29,6 +29,5 @@ export function getReferrerInfoAsync(): Promise { console.error('Failed to parse referrer URL') } } - return null }