Skip to content

Commit 9a9d79d

Browse files
committed
Fix formatting with Prettier
1 parent b3ee536 commit 9a9d79d

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
@@ -14,7 +14,7 @@ function sanitizeText(str: string) {
1414

1515
export default async function sendFeedback(
1616
messages: IMessage[],
17-
userFeedback: string
17+
userFeedback: string,
1818
) {
1919
if (messages.length < 2) return;
2020

@@ -23,7 +23,7 @@ export default async function sendFeedback(
2323
({ role, content }) =>
2424
`<p><strong>${
2525
role.charAt(0).toUpperCase() + role.slice(1)
26-
}</strong>: ${sanitizeText(content)}</p>`
26+
}</strong>: ${sanitizeText(content)}</p>`,
2727
)
2828
.join("");
2929

0 commit comments

Comments
 (0)