Skip to content

Commit 229dbd2

Browse files
committed
Update formating with prettier
1 parent d9f2a91 commit 229dbd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/pages/Chat/utils/feedbackHelper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function redactText(message: string, wordsToRedact: string) {
3232
export default async function sendFeedback(
3333
messages: IMessage[],
3434
userFeedback: string,
35-
wordsToRedact: string
35+
wordsToRedact: string,
3636
) {
3737
if (messages.length < 2) return;
3838

@@ -41,7 +41,7 @@ export default async function sendFeedback(
4141
({ role, content }) =>
4242
`<p><strong>${
4343
role.charAt(0).toUpperCase() + role.slice(1)
44-
}</strong>: ${redactText(sanitizeText(content), wordsToRedact)}</p>`
44+
}</strong>: ${redactText(sanitizeText(content), wordsToRedact)}</p>`,
4545
)
4646
.join("");
4747

0 commit comments

Comments
 (0)