make single loader more responsive

This commit is contained in:
Prathamesh Gursal
2024-10-08 01:19:26 +05:30
parent 453c653975
commit b59170078d
6 changed files with 71 additions and 30 deletions

View File

@@ -69,7 +69,7 @@ export default function Logs() {
Filter by chatbot
</p>
{loadingChatbots ? (
<SkeletonLoader count={1} />
<SkeletonLoader />
) : (
<Dropdown
size="w-[55vw] sm:w-[360px]"
@@ -105,7 +105,7 @@ export default function Logs() {
<div className="mt-8">
{loadingLogs ? (
<SkeletonLoader count={3} />
<SkeletonLoader />
) : (
<LogsTable logs={logs} setPage={setPage} />
)}