Spaces:
Sleeping
Sleeping
Girish Jeswani commited on
Commit ·
cc966b8
1
Parent(s): 638851d
fix canvas button
Browse files
phd-advisor-frontend/src/components/Sidebar.js
CHANGED
|
@@ -223,6 +223,15 @@ const Sidebar = ({
|
|
| 223 |
<Plus size={16} />
|
| 224 |
<span>{isCreatingNewChat ? 'Creating...' : 'New Chat'}</span>
|
| 225 |
</button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 226 |
</>
|
| 227 |
)}
|
| 228 |
|
|
|
|
| 223 |
<Plus size={16} />
|
| 224 |
<span>{isCreatingNewChat ? 'Creating...' : 'New Chat'}</span>
|
| 225 |
</button>
|
| 226 |
+
|
| 227 |
+
<button
|
| 228 |
+
className="sidebar-canvas-btn"
|
| 229 |
+
onClick={onNavigateToCanvas}
|
| 230 |
+
title="PhD Canvas"
|
| 231 |
+
>
|
| 232 |
+
<FileText size={20} />
|
| 233 |
+
{!isCollapsed && <span>PhD Canvas</span>}
|
| 234 |
+
</button>
|
| 235 |
</>
|
| 236 |
)}
|
| 237 |
|