Skip to content

Commit fae4449

Browse files
committed
person: Fix Grid size for MUI v6/7
Signed-off-by: Evan Maddock <maddock.evan@vivaldi.net>
1 parent 4b7996b commit fae4449

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Person.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export const Administration = () => {
8080
<Grid columns={useGrid ? 12 : 6} container margin={0} spacing={4} width={1}>
8181
{administration &&
8282
administration.map((person) => (
83-
<Grid key={`AdministrationGridItem-${person.names.first}`} xs={6}>
83+
<Grid key={`AdministrationGridItem-${person.names.first}`} size={{ xs: 6 }}>
8484
<Person embeddedIn="Administration" person={person} sx={{ alignItems: "center", height: "100%", p: 2 }} />
8585
</Grid>
8686
))}

0 commit comments

Comments
 (0)