Skip to content

Commit 437a86f

Browse files
committed
Fix setting user id
1 parent ca7ddf1 commit 437a86f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/common/utils/analytics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export function setUserId(userId: string) {
3636
debug('[Amplitude] Setting User ID', hashedId);
3737
identify('userId', hashedId);
3838

39-
window.amplitude.getInstance().setUserId();
39+
window.amplitude.getInstance().setUserId(hashedId);
4040
}
4141
}
4242
} catch (e) {

0 commit comments

Comments
 (0)