Skip to content

Commit

Permalink
Refactor chat message URLs in Dashboard component
Browse files Browse the repository at this point in the history
  • Loading branch information
SilkePilon committed Sep 11, 2024
1 parent 03ed98c commit a5470a2
Show file tree
Hide file tree
Showing 5 changed files with 595 additions and 98 deletions.
4 changes: 2 additions & 2 deletions frontend/src/app/flow/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ export default function Dashboard() {

const formatChatMessages = () => {
if (chatMessages.length === 0) {
return "No chat messages to show.\n\nHow about you gives us a star on GitHub?\ngithub.com/SilkePilon/OpenDeliveryBot";
return "No chat messages to show.\n\nHow about you gives us a star on GitHub?\ngithub.com/SilkePilon/KnowledgeBook";
}
return chatMessages
.map((msg) => {
Expand Down Expand Up @@ -1577,7 +1577,7 @@ export default function Dashboard() {
<a
className="underline"
href={
"https://github.com/SilkePilon/OpenDeliveryBot/tree/main"
"https://github.com/SilkePilon/KnowledgeBook/tree/main"
}
>
GitHub
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export default function Dashboard() {

const formatChatMessages = () => {
if (chatMessages.length === 0) {
return "No chat messages to show.\n\nHow about you gives us a star on GitHub?\ngithub.com/SilkePilon/OpenDeliveryBot";
return "No chat messages to show.\n\nHow about you gives us a star on GitHub?\ngithub.com/SilkePilon/KnowledgeBook";
}
return chatMessages
.map((msg) => {
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/app/test/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ export default function Dashboard() {

const formatChatMessages = () => {
if (chatMessages.length === 0) {
return "No chat messages to show.\n\nHow about you gives us a star on GitHub?\ngithub.com/SilkePilon/OpenDeliveryBot";
return "No chat messages to show.\n\nHow about you gives us a star on GitHub?\ngithub.com/SilkePilon/KnowledgeBook";
}
return chatMessages
.map((msg) => {
Expand Down Expand Up @@ -1405,7 +1405,7 @@ export default function Dashboard() {
<a
className="underline"
href={
"https://github.com/SilkePilon/OpenDeliveryBot/tree/main"
"https://github.com/SilkePilon/KnowledgeBook/tree/main"
}
>
GitHub
Expand Down
Loading

0 comments on commit a5470a2

Please sign in to comment.