Skip to content

Commit

Permalink
(EAI-150) [UI] change "Further Reading" in chatbot response to "Relat…
Browse files Browse the repository at this point in the history
…ed Resources" (#249)
  • Loading branch information
nlarew authored Nov 29, 2023
1 parent 802a614 commit 401771e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chat-ui/src/services/conversations.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ describe("formatReferences", () => {
},
];
expect(formatReferences(references)).toEqual(
"\n\n**Further reading:**\n\n" +
"\n\n**Related resources:**\n\n" +
"- [Title 1](https://example.com/1)\n\n" +
"- [Title 2](https://example.com/2)"
);
Expand Down
2 changes: 1 addition & 1 deletion chat-ui/src/services/conversations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function formatReferences(references: References): string {
if (references.length === 0) {
return "";
}
const heading = "\n\n**Further reading:**";
const heading = "\n\n**Related resources:**";
const listOfLinks = references.map(
(entry) => `- [${entry.title}](${entry.url})`
);
Expand Down

0 comments on commit 401771e

Please sign in to comment.