Преглед на файлове

fixing the code the make project failed to build

reset-do-picking-order
[email protected] преди 1 седмица
родител
ревизия
4f04ddde6e
променени са 2 файла, в които са добавени 1 реда и са изтрити 2 реда
  1. +1
    -1
      src/components/NavigationContent/NavigationContent.tsx
  2. +0
    -1
      src/components/StyledDataGrid/StyledDataGrid.tsx

+ 1
- 1
src/components/NavigationContent/NavigationContent.tsx Целия файл

@@ -343,7 +343,7 @@ const NavigationContent: React.FC = () => {
sx={{ textDecoration: "none", color: "inherit" }}
>
<ListItemButton
selected={pathname === child.path || (child.path && pathname.startsWith(child.path + "/"))}
selected={pathname === child.path || (!!child.path && pathname.startsWith(child.path + "/"))}
sx={{
mx: 1,
py: 1,


+ 0
- 1
src/components/StyledDataGrid/StyledDataGrid.tsx Целия файл

@@ -38,7 +38,6 @@ const StyledDataGrid = forwardRef<HTMLDivElement, DataGridProps>((props, ref) =>
{...props}
localeText={{
...zhTW.components.MuiDataGrid.defaultProps.localeText,
labelRowsPerPage: t("Rows per page"),
...props.localeText, // 允许覆盖
}}
/>


Зареждане…
Отказ
Запис