Skip to content

Commit c9e328f

Browse files
fix(data-grid): remove unnecssary flex parameter
1 parent f6c7758 commit c9e328f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pages/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const Home: NextPage<HomePageProps> = ({ allCourseData }) => {
3838
const theme = useTheme();
3939

4040
const courses = coursesArray.map((data, i) => ({ ...data, id: i }));
41-
41+
4242
const columns: GridColDef[] = [
4343
{
4444
field: courseFields.NAME,
@@ -105,7 +105,6 @@ const Home: NextPage<HomePageProps> = ({ allCourseData }) => {
105105
{
106106
field: courseFields.ALIASES,
107107
headerName: 'Aliases',
108-
flex: isDesktop ? 1 : 0,
109108
},
110109
];
111110
return (

0 commit comments

Comments
 (0)