Skip to content

Commit 902d7af

Browse files
authored
Fix: messenger button opens the messenger instead of tickets space (#202)
The IntercomExpo sandbox demo has a small bug where the messenger button is opening the tickets space button.
1 parent 0b4b980 commit 902d7af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sandboxes/IntercomExpo/App.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ export default function App() {
7373
openCarousel,
7474
openSurvey,
7575
openMessageComposer,
76+
openMessenger,
7677
} = useIntercom();
7778

7879
return (
@@ -123,7 +124,7 @@ export default function App() {
123124

124125
<TouchableOpacity
125126
style={styles.button}
126-
onPress={openTicketsSpace}
127+
onPress={openMessenger}
127128
>
128129
<Text style={styles.buttonText}>MESSENGER</Text>
129130
</TouchableOpacity>

0 commit comments

Comments
 (0)