1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-09-03 06:12:53 +02:00
This commit is contained in:
Arik Chakma
2025-06-10 13:24:08 +06:00
parent b574f1ebf5
commit 44bb6f04b4
2 changed files with 2 additions and 2 deletions

View File

@@ -136,7 +136,7 @@ export function ListChatHistory(props: ListChatHistoryProps) {
<SearchInput onSearch={setQuery} isLoading={isLoading} /> <SearchInput onSearch={setQuery} isLoading={isLoading} />
</div> </div>
<div className="scrollbar-track-transparent scrollbar scrollbar-thumb-gray-300 -mx-2 mt-6 grow space-y-4 overflow-y-auto px-2"> <div className="scrollbar-track-transparent scrollbar-thin scrollbar-thumb-gray-300 -mx-2 mt-6 grow space-y-4 overflow-y-auto px-2">
{Object.entries(groupedChatHistory ?? {}).map(([key, value]) => { {Object.entries(groupedChatHistory ?? {}).map(([key, value]) => {
if (value.histories.length === 0) { if (value.histories.length === 0) {
return null; return null;

View File

@@ -18,7 +18,7 @@ export function ListChatHistorySkeleton() {
</div> </div>
</div> </div>
<div className="scrollbar-track-transparent scrollbar scrollbar-thumb-gray-300 -mx-2 mt-6 grow space-y-4 overflow-y-auto px-2"> <div className="scrollbar-track-transparent scrollbar-thin scrollbar-thumb-gray-300 -mx-2 mt-6 grow space-y-4 overflow-y-auto px-2">
{['Today', 'Last 7 Days', 'Older'].map((group) => ( {['Today', 'Last 7 Days', 'Older'].map((group) => (
<div key={group}> <div key={group}>
<div className="h-4 w-16 animate-pulse rounded bg-gray-200" /> <div className="h-4 w-16 animate-pulse rounded bg-gray-200" />