mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-23 20:00:15 +01:00
add loading state for fetching
This commit is contained in:
parent
b97594c000
commit
da42d6272a
3 changed files with 25 additions and 18 deletions
|
|
@ -6,10 +6,10 @@ import ClearConvos from './ClearConvos';
|
|||
import DarkMode from './DarkMode';
|
||||
import Logout from './Logout';
|
||||
|
||||
export default function NavLinks({ onSearchSuccess, clearSearch }) {
|
||||
export default function NavLinks({ fetch, onSearchSuccess, clearSearch }) {
|
||||
return (
|
||||
<>
|
||||
<SearchBar onSuccess={onSearchSuccess} clearSearch={clearSearch}/>
|
||||
<SearchBar fetch={fetch} onSuccess={onSearchSuccess} clearSearch={clearSearch}/>
|
||||
<ClearConvos />
|
||||
<DarkMode />
|
||||
<Logout />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue