Skip to content

Commit cf126f7

Browse files
committed
feat: add consistent Intercom settings to updateIntercomUserData
Add positioning and launcher settings to updateIntercomUserData function to match the settings in the initialize function for consistent behavior
1 parent 18e5db3 commit cf126f7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/hooks/useIntercom.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ export const updateIntercomUserData = ({ address }: { address?: string }) => {
1212
boot({
1313
app_id: INTERCOM_APP_ID,
1414
name: address,
15+
hide_default_launcher: false, // Keep the bubble/icon visible at all times
16+
// Positioning options
17+
alignment: "right",
18+
horizontal_padding: 20,
19+
vertical_padding: 20,
1520
});
1621
};
1722

0 commit comments

Comments
 (0)