mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
ui
This commit is contained in:
parent
3abafa76ec
commit
d43453e5ed
1 changed files with 3 additions and 3 deletions
|
|
@ -56,11 +56,11 @@ export const SidebarThreadSelector = () => {
|
|||
|
||||
{sortedThreadIds.length === 0
|
||||
|
||||
? <div key="nothreads" className="text-center text-void-fg-3 brightness-90 text-sm">{`No history found`}</div>
|
||||
? <div key="nothreads" className="text-center text-void-fg-3 brightness-90 text-sm">{`There are no chat threads yet.`}</div>
|
||||
|
||||
: sortedThreadIds.map((threadId) => {
|
||||
if (!allThreads) {
|
||||
return <li key="error" className="text-void-warning">{`No history found`}</li>;
|
||||
return <li key="error" className="text-void-warning">{`Error accessing chat history.`}</li>;
|
||||
}
|
||||
|
||||
const pastThread = allThreads[threadId];
|
||||
|
|
@ -93,7 +93,7 @@ export const SidebarThreadSelector = () => {
|
|||
return (
|
||||
<li key={pastThread.id}>
|
||||
<button
|
||||
type='button'
|
||||
type='button'
|
||||
className={`
|
||||
hover:bg-void-bg-1
|
||||
${threadsState._currentThreadId === pastThread.id ? 'bg-void-bg-1' : ''}
|
||||
|
|
|
|||
Loading…
Reference in a new issue