This is an automated email from the ASF dual-hosted git repository.
ppawar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/master by this push:
new d89b2d003 ATLAS-5100 : React UI: Remove unused imports to avoid build
failure. (#438)
d89b2d003 is described below
commit d89b2d0031f133eb24315a24a06a25bca1d09d12
Author: farhank31 <[email protected]>
AuthorDate: Wed Sep 10 12:03:35 2025 +0530
ATLAS-5100 : React UI: Remove unused imports to avoid build failure. (#438)
Co-authored-by: Farhan Khan <[email protected]>
---
dashboard/src/views/Administrator/Audits/AdminAuditTable.tsx | 2 --
dashboard/src/views/Entity/EntityForm.tsx | 1 -
dashboard/src/views/Layout/About.tsx | 1 -
dashboard/src/views/SideBar/SideBarBody.tsx | 2 +-
dashboard/src/views/SideBar/SideBarTree/SideBarTree.tsx | 2 --
5 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/dashboard/src/views/Administrator/Audits/AdminAuditTable.tsx
b/dashboard/src/views/Administrator/Audits/AdminAuditTable.tsx
index 04031e03f..379dbbb6c 100644
--- a/dashboard/src/views/Administrator/Audits/AdminAuditTable.tsx
+++ b/dashboard/src/views/Administrator/Audits/AdminAuditTable.tsx
@@ -15,7 +15,6 @@
* limitations under the License.
*/
-import { useSearchParams } from "react-router-dom";
import { getAuditData } from "@api/apiMethods/detailpageApiMethod";
import { useCallback, useMemo, useRef, useState } from "react";
import { toast } from "react-toastify";
@@ -38,7 +37,6 @@ import KeyboardArrowRightOutlinedIcon from
"@mui/icons-material/KeyboardArrowRig
import KeyboardArrowDownOutlinedIcon from
"@mui/icons-material/KeyboardArrowDownOutlined";
const AdminAuditTable = () => {
- const [searchParams] = useSearchParams();
const toastId: any = useRef(null);
const [loader, setLoader] = useState<boolean>(true);
const [auditData, setAuditData] = useState([]);
diff --git a/dashboard/src/views/Entity/EntityForm.tsx
b/dashboard/src/views/Entity/EntityForm.tsx
index 20f9c1c46..d60ef81b1 100644
--- a/dashboard/src/views/Entity/EntityForm.tsx
+++ b/dashboard/src/views/Entity/EntityForm.tsx
@@ -33,7 +33,6 @@ import { useAppDispatch, useAppSelector } from
"@hooks/reducerHook";
import { Action, DynamicObject, State } from "@models/entityFormType";
import {
Autocomplete,
- CircularProgress,
FormControl,
Stack,
TextField,
diff --git a/dashboard/src/views/Layout/About.tsx
b/dashboard/src/views/Layout/About.tsx
index eb96b0c4f..4a77b5aa0 100644
--- a/dashboard/src/views/Layout/About.tsx
+++ b/dashboard/src/views/Layout/About.tsx
@@ -18,7 +18,6 @@
import { getVersion } from "@api/apiMethods/headerApiMethods";
import SkeletonLoader from "@components/SkeletonLoader";
import {
- CircularProgress,
List,
ListItem,
ListItemText,
diff --git a/dashboard/src/views/SideBar/SideBarBody.tsx
b/dashboard/src/views/SideBar/SideBarBody.tsx
index 3eeb0d217..f5de41a1c 100644
--- a/dashboard/src/views/SideBar/SideBarBody.tsx
+++ b/dashboard/src/views/SideBar/SideBarBody.tsx
@@ -38,7 +38,7 @@ import CssBaseline from "@mui/material/CssBaseline";
import { IconButton } from "@components/muiComponents";
import { useSelector } from "react-redux";
import SearchIcon from "@mui/icons-material/Search";
-import { CircularProgress, InputBase, Paper, Stack } from "@mui/material";
+import { InputBase, Paper, Stack } from "@mui/material";
import { TypeHeaderState } from "@models/treeStructureType.js";
import { globalSessionData, PathAssociateWithModule } from "@utils/Enum";
import KeyboardDoubleArrowLeftIcon from
"@mui/icons-material/KeyboardDoubleArrowLeft";
diff --git a/dashboard/src/views/SideBar/SideBarTree/SideBarTree.tsx
b/dashboard/src/views/SideBar/SideBarTree/SideBarTree.tsx
index dd49cfeb6..97ec42c1d 100644
--- a/dashboard/src/views/SideBar/SideBarTree/SideBarTree.tsx
+++ b/dashboard/src/views/SideBar/SideBarTree/SideBarTree.tsx
@@ -60,7 +60,6 @@ import {
} from "react-router-dom";
import Stack from "@mui/material/Stack";
-import CircularProgress from "@mui/material/CircularProgress";
import { globalSearchFilterInitialQuery, isEmpty } from "@utils/Utils";
import LaunchOutlinedIcon from "@mui/icons-material/LaunchOutlined";
import { getGlossaryImportTmpl } from "@api/apiMethods/glossaryApiMethod";
@@ -76,7 +75,6 @@ import RefreshIcon from "@mui/icons-material/Refresh";
import { AntSwitch } from "@utils/Muiutils";
import { IconButton } from "@components/muiComponents";
import SkeletonLoader from "@components/SkeletonLoader";
-import { color } from "d3";
type CustomContentRootProps = HTMLAttributes<HTMLDivElement> & {
selectedNodeType?: any;