Spaces:
Running
Running
Girish Jeswani commited on
Commit ·
6ef1395
1
Parent(s): c0a70f1
add upload notification
Browse files
phd-advisor-frontend/src/pages/ChatPage.js
CHANGED
|
@@ -119,7 +119,7 @@ const ChatPage = ({ onNavigateToHome }) => {
|
|
| 119 |
const uploadMessage = {
|
| 120 |
id: generateMessageId(),
|
| 121 |
type: 'document_upload',
|
| 122 |
-
content: `
|
| 123 |
timestamp: new Date(),
|
| 124 |
documentInfo: docInfo
|
| 125 |
};
|
|
|
|
| 119 |
const uploadMessage = {
|
| 120 |
id: generateMessageId(),
|
| 121 |
type: 'document_upload',
|
| 122 |
+
content: `Successfully uploaded "${file.name}". Your advisors can now reference this document in their responses.`,
|
| 123 |
timestamp: new Date(),
|
| 124 |
documentInfo: docInfo
|
| 125 |
};
|