Spaces:
Sleeping
Sleeping
fix new chat button
Browse files- web/src/App.tsx +6 -2
web/src/App.tsx
CHANGED
|
@@ -635,8 +635,12 @@ function App() {
|
|
| 635 |
<span className="version">v1.0</span>
|
| 636 |
</div>
|
| 637 |
<div className="header-right">
|
| 638 |
-
<button
|
| 639 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 640 |
</button>
|
| 641 |
<span className="user-info">👤 {user?.name}</span>
|
| 642 |
<button className="logout-btn" onClick={handleLogout}>
|
|
|
|
| 635 |
<span className="version">v1.0</span>
|
| 636 |
</div>
|
| 637 |
<div className="header-right">
|
| 638 |
+
<button
|
| 639 |
+
className="new-chat-btn"
|
| 640 |
+
onClick={handleNewChat}
|
| 641 |
+
style={{ marginRight: '1rem' }}
|
| 642 |
+
>
|
| 643 |
+
New Chat
|
| 644 |
</button>
|
| 645 |
<span className="user-info">👤 {user?.name}</span>
|
| 646 |
<button className="logout-btn" onClick={handleLogout}>
|