Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bananazigzags committed Apr 15, 2024
1 parent 8d5d130 commit 73a0e18
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions packages/react-use-intercom/src/provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ export const IntercomProvider: React.FC<
showSpace,
showNews,
showTicket,
showConversation
showConversation,
};
}, [
boot,
Expand All @@ -321,7 +321,7 @@ export const IntercomProvider: React.FC<
showSpace,
showNews,
showTicket,
showConversation
showConversation,
]);

return (
Expand Down
10 changes: 5 additions & 5 deletions packages/react-use-intercom/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ export type IntercomMethod =
| 'showSpace'
| 'showNews'
| 'showTicket'
| 'showConversation'
| 'showConversation';

export type RawIntercomProps = RawMessengerAttributes & RawDataAttributes;

Expand Down Expand Up @@ -449,17 +449,17 @@ export type IntercomContextValues = {
*/
showNews: (newsId: number) => void;
/**
* If you would like to trigger a ticket in the Messenger, you can use the showTicket method.
*
* If you would like to trigger a ticket in the Messenger, you can use the showTicket method.
*
* The ticket will be shown within the Messenger, and clicking the Messenger back button will return to the previous context.
*
*
* If the Messenger is closed when the method is called, it will be opened first and then the ticket will be shown.
* @see {@link https://developers.intercom.com/installing-intercom/web/methods/#intercomshowticket-ticketid}
*/
showTicket: (ticketId: number) => void;
/**
* You can show a conversation programatically in the Messenger by calling showConversation method
*
*
* @see {@link https://developers.intercom.com/installing-intercom/web/methods/#intercomshowconversation-conversationid}
*/
showConversation: (conversationId: number) => void;
Expand Down

0 comments on commit 73a0e18

Please sign in to comment.