Skip to content

Commit

Permalink
Fix: messenger button opens the messenger instead of tickets space (#202
Browse files Browse the repository at this point in the history
)

The IntercomExpo sandbox demo has a small bug where the messenger button is opening the tickets space button.
  • Loading branch information
augini authored May 28, 2024
1 parent 0b4b980 commit 902d7af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sandboxes/IntercomExpo/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export default function App() {
openCarousel,
openSurvey,
openMessageComposer,
openMessenger,
} = useIntercom();

return (
Expand Down Expand Up @@ -123,7 +124,7 @@ export default function App() {

<TouchableOpacity
style={styles.button}
onPress={openTicketsSpace}
onPress={openMessenger}
>
<Text style={styles.buttonText}>MESSENGER</Text>
</TouchableOpacity>
Expand Down

0 comments on commit 902d7af

Please sign in to comment.