From 539050c56b20bce050ad4683d3a4b05e58a6cf95 Mon Sep 17 00:00:00 2001 From: AkaraChen Date: Wed, 4 Dec 2024 16:16:00 +0800 Subject: [PATCH] style: fix component naming --- web/app/components/base/skeleton/index.tsx | 2 +- web/app/components/datasets/create/step-two/index.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/app/components/base/skeleton/index.tsx b/web/app/components/base/skeleton/index.tsx index bdfef04ba8..5f6c6748b9 100644 --- a/web/app/components/base/skeleton/index.tsx +++ b/web/app/components/base/skeleton/index.tsx @@ -7,7 +7,7 @@ export const SkeletonRow = twc.div`flex items-center gap-2` export const SkeletonRectangle = twc.div`h-2 rounded-sm opacity-20 bg-text-tertiary my-1` -export const SkeletonCircle: FC = () => +export const SkeletonPoint: FC = () =>
ยท
/** Usage diff --git a/web/app/components/datasets/create/step-two/index.tsx b/web/app/components/datasets/create/step-two/index.tsx index 71c5c93d5e..c8103b6313 100644 --- a/web/app/components/datasets/create/step-two/index.tsx +++ b/web/app/components/datasets/create/step-two/index.tsx @@ -57,7 +57,7 @@ import Divider from '@/app/components/base/divider' import { getNotionInfo, getWebsiteInfo, useCreateDocument, useCreateFirstDocument, useFetchDefaultProcessRule, useFetchFileIndexingEstimateForFile, useFetchFileIndexingEstimateForNotion, useFetchFileIndexingEstimateForWeb } from '@/service/knowledge/use-create-dataset' import Loading from '@/app/components/base/loading' import Badge from '@/app/components/base/badge' -import { SkeletonCircle, SkeletonContanier, SkeletonRectangle, SkeletonRow } from '@/app/components/base/skeleton' +import { SkeletonContanier, SkeletonPoint, SkeletonRectangle, SkeletonRow } from '@/app/components/base/skeleton' const TextLabel: FC = (props) => { return @@ -967,7 +967,7 @@ const StepTwo = ({ - +