Commit 4fb753a5 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Removed unused variables

parent 72f72135
diff -uNr lakeFS-1.32.1/webui/src/lib/components/auth/layout.tsx lakeFS-1.32.1-suppress_ACL_warnings/webui/src/lib/components/auth/layout.tsx diff -uNr lakeFS-1.32.1/webui/src/lib/components/auth/layout.tsx lakeFS-1.32.1-suppress_ACL_warnings/webui/src/lib/components/auth/layout.tsx
--- lakeFS-1.32.1/webui/src/lib/components/auth/layout.tsx 2024-08-28 01:08:51.000000000 +0930 --- lakeFS-1.32.1/webui/src/lib/components/auth/layout.tsx 2024-08-28 01:08:51.000000000 +0930
+++ lakeFS-1.32.1-suppress_ACL_warnings/webui/src/lib/components/auth/layout.tsx 2025-05-20 08:04:25.932852611 +0930 +++ lakeFS-1.32.1-suppress_ACL_warnings/webui/src/lib/components/auth/layout.tsx 2025-05-20 12:42:05.717215108 +0930
@@ -34,19 +34,6 @@ @@ -10,21 +10,18 @@
import {Link} from "../nav";
import {useLoginConfigContext} from "../../hooks/conf";
import {useLayoutOutletContext} from "../layout";
-import Alert from "react-bootstrap/Alert";
-import {InfoIcon} from "@primer/octicons-react";
type AuthOutletContext = [(tab: string) => void];
const rbacDismissedKey = "lakefs:ui:acl:dismissRBACAlert";
export const AuthLayout = () => {
- const [showRBACAlert, setShowRBACAlert] = useState(!window.localStorage.getItem(rbacDismissedKey));
const [activeTab, setActiveTab] = useState("credentials");
const {RBAC: rbac} = useLoginConfigContext();
const [setIsLogged] = useLayoutOutletContext();
useEffect(() => {
setIsLogged(true);
}, [setIsLogged]);
- const [displayACLDeprecation, setDisplayACLDeprecation] = useState(false);
+ const [setDisplayACLDeprecation] = useState(false);
useEffect(() => {
const listUsers = async () => {
return await auth.listUsers("", "", 2);
@@ -34,19 +31,6 @@
return ( return (
<Container fluid="xl"> <Container fluid="xl">
<Row className="mt-5"> <Row className="mt-5">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment