mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-09-03 06:12:53 +02:00
wip
This commit is contained in:
@@ -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;
|
||||||
|
@@ -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" />
|
||||||
|
Reference in New Issue
Block a user