Skip to content

Commit

Permalink
Adjust Sprig email setting (#556)
Browse files Browse the repository at this point in the history
  • Loading branch information
Winston-Hsiao authored Nov 7, 2024
1 parent 4352a25 commit bf7b7fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/SprigInitializer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const SprigInitializer = () => {
// Set user ID and email in Sprig if user is authenticated
if (isAuthenticated && currentUser) {
window.Sprig("setUserId", currentUser.id);
window.Sprig("setUserEmail", currentUser.email);
window.Sprig("setEmail", currentUser.email);
}

// Track page view
Expand Down

0 comments on commit bf7b7fd

Please sign in to comment.