Skip to content

Commit dd60bdf

Browse files
Fran McDadeFran McDade
Fran McDade
authored and
Fran McDade
committed
chore: update findable-ui to latest v25.0.0 (#4453)
1 parent 367b7d7 commit dd60bdf

File tree

5 files changed

+1093
-175
lines changed

5 files changed

+1093
-175
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { SectionTitle } from "@databiosphere/findable-ui/lib/components/common/Section/components/SectionTitle/sectionTitle";
22
import { TEXT_BODY_400 } from "@databiosphere/findable-ui/lib/theme/common/typography";
3-
import { Grid2, Typography } from "@mui/material";
3+
import { Grid, Typography } from "@mui/material";
44
import { NetworkIcon } from "../../../../../common/NetworkIcon/networkIcon";
55
import { StyledSection } from "./atlasSection.styles";
66
import { GRID_PROPS } from "./constants";
@@ -13,21 +13,21 @@ interface AtlasProps {
1313
export const AtlasSection = ({ atlases }: AtlasProps): JSX.Element => {
1414
return (
1515
<StyledSection>
16-
<Grid2 {...GRID_PROPS.COLUMN} spacing={4}>
16+
<Grid {...GRID_PROPS.COLUMN} spacing={4}>
1717
<SectionTitle title="Atlas" />
18-
<Grid2 {...GRID_PROPS.COLUMN} spacing={2}>
18+
<Grid {...GRID_PROPS.COLUMN} spacing={2}>
1919
{atlases.length > 0 ? (
2020
atlases.map(({ atlasName, networkKey }, i) => (
21-
<Grid2 key={i} alignItems="center" container spacing={2}>
21+
<Grid key={i} alignItems="center" container spacing={2}>
2222
<NetworkIcon networkKey={networkKey} />
2323
<Typography variant={TEXT_BODY_400}>{atlasName}</Typography>
24-
</Grid2>
24+
</Grid>
2525
))
2626
) : (
2727
<Typography variant={TEXT_BODY_400}>None</Typography>
2828
)}
29-
</Grid2>
30-
</Grid2>
29+
</Grid>
30+
</Grid>
3131
</StyledSection>
3232
);
3333
};
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { Grid2Props } from "@mui/material";
1+
import { GridProps } from "@mui/material";
22

33
export const GRID_PROPS: Record<
44
string,
5-
Partial<Omit<Grid2Props, "component">>
5+
Partial<Omit<GridProps, "component">>
66
> = {
77
COLUMN: { container: true, direction: "column" },
88
};

0 commit comments

Comments
 (0)