diff --git a/web/src/app/app/chats/_ChatsListContainer/ChatListContainer.tsx b/web/src/app/app/chats/_ChatsListContainer/ChatListContainer.tsx index e0f1e8ff1..6ead32006 100644 --- a/web/src/app/app/chats/_ChatsListContainer/ChatListContainer.tsx +++ b/web/src/app/app/chats/_ChatsListContainer/ChatListContainer.tsx @@ -1,7 +1,7 @@ 'use client'; import React, { useState } from 'react'; -import { AppContent } from '../../../../components/ui/layouts/AppContentPage'; +import { AppContentPage } from '../../../../components/ui/layouts/AppContentPage'; import { useAppLayoutContextSelector } from '@/context/BusterAppLayout'; import { useMemoizedFn, useMount } from 'ahooks'; import { useBusterChatListByFilter } from '@/context/Chats'; @@ -31,14 +31,14 @@ export const ChatListContainer: React.FC<{ return (
- + - +
); }; diff --git a/web/src/app/app/datasets/[datasetId]/_DatasetsLayout/DatasetsLayout.tsx b/web/src/app/app/datasets/[datasetId]/_DatasetsLayout/DatasetsLayout.tsx index 35d36c53d..515712931 100644 --- a/web/src/app/app/datasets/[datasetId]/_DatasetsLayout/DatasetsLayout.tsx +++ b/web/src/app/app/datasets/[datasetId]/_DatasetsLayout/DatasetsLayout.tsx @@ -1,7 +1,7 @@ 'use client'; import React from 'react'; -import { AppContent } from '@/components/ui/layouts/AppContentPage'; +import { AppContentPage } from '@/components/ui/layouts/AppContentPage'; import { DatasetsIndividualHeader } from './DatasetsIndividualHeader'; import { DatasetPageProvider } from './DatasetPageContext'; @@ -12,7 +12,7 @@ export const DatasetPageLayout: React.FC<{ children: React.ReactNode; datasetId: return ( - {children} + {children} ); }; diff --git a/web/src/controllers/CollectionListController/CollectionsListContent.tsx b/web/src/controllers/CollectionListController/CollectionsListContent.tsx index 273ce27e5..82413a302 100644 --- a/web/src/controllers/CollectionListController/CollectionsListContent.tsx +++ b/web/src/controllers/CollectionListController/CollectionsListContent.tsx @@ -1,7 +1,7 @@ 'use client'; import React, { useMemo, useState } from 'react'; -import { AppContent } from '@/components/ui'; +import { AppContentPage } from '@/components/ui/layouts'; import { Avatar } from '@/components/ui/avatar'; import { formatDate, makeHumanReadble } from '@/lib'; import { BusterRoutes, createBusterRoute } from '@/routes'; @@ -32,13 +32,13 @@ export const CollectionsListContent: React.FC<{ return ( <> - + - + - -
- - ) : ( - <> - ) - } - /> + +
+ + ) : ( + <> + ) + } + /> - 0} - /> -
- - + 0} + /> +
+ ); }; diff --git a/web/src/controllers/DatasetsListController/DatasetListContent.tsx b/web/src/controllers/DatasetsListController/DatasetListContent.tsx index b2106e00f..faa35eaee 100644 --- a/web/src/controllers/DatasetsListController/DatasetListContent.tsx +++ b/web/src/controllers/DatasetsListController/DatasetListContent.tsx @@ -1,7 +1,7 @@ 'use client'; import React, { useState, useMemo } from 'react'; -import { AppContent } from '@/components/ui/layouts/AppContentPage'; +import { AppContentPage } from '@/components/ui/layouts/AppContentPage'; import { Avatar } from '@/components/ui/avatar'; import { formatDate } from '@/lib'; import { BusterList, BusterListColumn, BusterListRow } from '@/components/ui/list'; @@ -78,7 +78,7 @@ export const DatasetListContent: React.FC<{ return ( <> - + - + ); }); diff --git a/web/src/controllers/MetricListContainer/MetricListContainer.tsx b/web/src/controllers/MetricListContainer/MetricListContainer.tsx index 02f7df77a..71a59360f 100644 --- a/web/src/controllers/MetricListContainer/MetricListContainer.tsx +++ b/web/src/controllers/MetricListContainer/MetricListContainer.tsx @@ -7,7 +7,7 @@ import { VerificationStatus } from '@/api/asset_interfaces'; import { useBusterMetricListByFilter } from '@/context/Metrics'; import { MetricListHeader } from './MetricListHeader'; import { MetricItemsContainer } from './MetricItemsContainer'; -import { AppContent } from '@/components/ui'; +import { AppContentPage } from '@/components/ui'; export const MetricListContainer: React.FC<{ className?: string; @@ -32,7 +32,7 @@ export const MetricListContainer: React.FC<{ return (
- + - +
); }; diff --git a/web/src/controllers/TermIndividualController/TermIndividualContent.tsx b/web/src/controllers/TermIndividualController/TermIndividualContent.tsx index 0660da715..991a30278 100644 --- a/web/src/controllers/TermIndividualController/TermIndividualContent.tsx +++ b/web/src/controllers/TermIndividualController/TermIndividualContent.tsx @@ -1,7 +1,7 @@ 'use client'; import React, { useEffect, useMemo, useState } from 'react'; -import { AppContent } from '@/components/ui/layouts/AppContentPage'; +import { AppContentPage } from '@/components/ui/layouts/AppContentPage'; import { useBusterTermsIndividualContextSelector, useBusterTermsIndividual } from '@/context/Terms'; import { Dropdown, Input } from 'antd'; import { useDebounceFn } from 'ahooks'; @@ -70,7 +70,7 @@ export const TermIndividualContent: React.FC<{ }, [selectedTerm?.name, selectedTerm?.definition]); return ( - + {loadingSelectedTerm ? ( ) : ( @@ -149,7 +149,7 @@ export const TermIndividualContent: React.FC<{ )} - + ); }; diff --git a/web/src/controllers/TermIndividualController/TermIndividualController.tsx b/web/src/controllers/TermIndividualController/TermIndividualController.tsx index 0bea46476..78e6df62a 100644 --- a/web/src/controllers/TermIndividualController/TermIndividualController.tsx +++ b/web/src/controllers/TermIndividualController/TermIndividualController.tsx @@ -2,7 +2,7 @@ import React from 'react'; import { TermIndividualHeader } from './TermIndividualHeader'; -import { AppContentHeader, AppContent, AppSplitter } from '@/components/ui/layouts'; +import { AppContentHeader, AppContentPage, AppSplitter } from '@/components/ui/layouts'; import { TermIndividualHeaderSider } from './TermIndividualHeaderSider'; import { TermIndividualContentSider } from './TermIndividualContentSider'; import { useBusterTermsListContextSelector } from '@/context/Terms'; @@ -33,9 +33,9 @@ export const TermIndividualController: React.FC<{ - + - + } /> diff --git a/web/src/controllers/TermsListController/TermsListContent.tsx b/web/src/controllers/TermsListController/TermsListContent.tsx index f20f0a19c..464293bfd 100644 --- a/web/src/controllers/TermsListController/TermsListContent.tsx +++ b/web/src/controllers/TermsListController/TermsListContent.tsx @@ -1,7 +1,7 @@ 'use client'; import React, { useMemo, useState } from 'react'; -import { AppContent } from '@/components/ui/layouts/AppContentPage'; +import { AppContentPage } from '@/components/ui/layouts/AppContentPage'; import { Avatar } from '@/components/ui/avatar'; import { formatDate } from '@/lib'; import { @@ -68,7 +68,7 @@ export const TermsListContent: React.FC<{ }); return ( - + - + ); };