added customize loader for each section

This commit is contained in:
Prathamesh Gursal
2024-10-09 01:28:54 +05:30
parent 57cfafeb34
commit 5b5281e50c
5 changed files with 112 additions and 38 deletions

View File

@@ -223,7 +223,7 @@ export default function Analytics() {
className="flex flex-row items-center justify-end"
></div>
{loadingMessages ? (
<SkeletonLoader count={1} />
<SkeletonLoader count={1} component={'analysis'} />
) : (
<AnalyticsChart
data={{
@@ -274,7 +274,7 @@ export default function Analytics() {
className="flex flex-row items-center justify-end"
></div>
{loadingTokens ? (
<SkeletonLoader />
<SkeletonLoader count={1} component={'analysis'} />
) : (
<AnalyticsChart
data={{
@@ -327,7 +327,7 @@ export default function Analytics() {
className="flex flex-row items-center justify-end"
></div>
{loadingFeedback ? (
<SkeletonLoader />
<SkeletonLoader count={1} component={'analysis'} />
) : (
<AnalyticsChart
data={{