diff --git a/_snippets/chat/chat-buttons.mdx b/_snippets/chat/chat-buttons.mdx index 82ef897..b434dc8 100644 --- a/_snippets/chat/chat-buttons.mdx +++ b/_snippets/chat/chat-buttons.mdx @@ -2,7 +2,7 @@ Plain.init({ // ...Other options - chatButtons: [{ + chatButtons: [ { // Optional. The name of the icon to display, see above for full options icon: 'bulb', @@ -11,11 +11,11 @@ Plain.init({ text: 'Give feedback', // Optional. Allows you to set fields for the threads which are created with this button. See above for full options. - threadDetails: {}; + threadDetails: {}, // Optional. Form elements which the user must fill out before sending a chat message. See below for full options. form: {}, } - }] + ] }) ``` \ No newline at end of file diff --git a/_snippets/chat/chat-forms.mdx b/_snippets/chat/chat-forms.mdx index 2280925..a7c2aa2 100644 --- a/_snippets/chat/chat-forms.mdx +++ b/_snippets/chat/chat-forms.mdx @@ -2,7 +2,7 @@ Plain.init({ // ...Other options - chatButtons: [{ + chatButtons: [ { // ...Other chat button options form: { @@ -32,7 +32,7 @@ Plain.init({ ] }, } - }] + ] })