style: fix prettier formatting issues
Deploy / Deploy Staging (push) Failing after 192h26m58s
CI/CD Pipeline / Frontend Lint (push) Failing after 192h27m37s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 192h27m46s
Deploy / Production Browser E2E (push) Failing after 1851h1m12s
Deploy / Deploy Production (push) Failing after 1851h1m14s
Deploy / Build Production Runtime Images (push) Failing after 1851h1m17s
Deploy / Deploy Staging (push) Failing after 192h26m58s
CI/CD Pipeline / Frontend Lint (push) Failing after 192h27m37s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 192h27m46s
Deploy / Production Browser E2E (push) Failing after 1851h1m12s
Deploy / Deploy Production (push) Failing after 1851h1m14s
Deploy / Build Production Runtime Images (push) Failing after 1851h1m17s
This commit is contained in:
@@ -17,8 +17,6 @@ import type { MenuProps } from "antd";
|
||||
import { NAV_ITEMS } from "@/config/navigation";
|
||||
import "./Header.css";
|
||||
|
||||
|
||||
|
||||
const Header: React.FC = () => {
|
||||
const navigate = useNavigate();
|
||||
const location = useLocation();
|
||||
|
||||
@@ -142,7 +142,6 @@
|
||||
.xx-app-sidebar:not(.xx-collapsed) .xx-sidebar-toggle-label {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
|
||||
@@ -138,7 +138,10 @@ const PageHead: React.FC<PageHeadProps> = ({
|
||||
{breadcrumbItems.map((item, index) => {
|
||||
const isLast = index === breadcrumbItems.length - 1;
|
||||
return (
|
||||
<li key={`${item.label}-${index}`} className="xx-page-breadcrumb-item">
|
||||
<li
|
||||
key={`${item.label}-${index}`}
|
||||
className="xx-page-breadcrumb-item"
|
||||
>
|
||||
{index > 0 && (
|
||||
<RightOutlined className="xx-page-breadcrumb-separator" />
|
||||
)}
|
||||
@@ -157,7 +160,10 @@ const PageHead: React.FC<PageHeadProps> = ({
|
||||
<span>{item.label}</span>
|
||||
</Link>
|
||||
) : (
|
||||
<span className="xx-page-breadcrumb-current" aria-current="page">
|
||||
<span
|
||||
className="xx-page-breadcrumb-current"
|
||||
aria-current="page"
|
||||
>
|
||||
{index === 0 ? (
|
||||
<HomeOutlined className="xx-page-breadcrumb-home" />
|
||||
) : null}
|
||||
|
||||
@@ -33,7 +33,9 @@ const Sidebar: React.FC = () => {
|
||||
};
|
||||
|
||||
return (
|
||||
<div className={`xx-sidebar-nav${collapsed ? " xx-sidebar-nav--collapsed" : ""}`}>
|
||||
<div
|
||||
className={`xx-sidebar-nav${collapsed ? " xx-sidebar-nav--collapsed" : ""}`}
|
||||
>
|
||||
{NAV_GROUPS.map((group) => (
|
||||
<div className="xx-sidebar-group" key={group.title}>
|
||||
{!collapsed && (
|
||||
|
||||
Reference in New Issue
Block a user