File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 11import React , { useState } from 'react' ;
22import { useEnsureListPath , useUrgency } from '../hooks' ;
33import { getUrgency } from '../utils/urgencyUtils' ;
4- import { List as UnorderedList , Box , Grid } from '@mui/material' ;
4+ import { List as UnorderedList , Box } from '@mui/material' ;
5+ import Grid from '@mui/material/Grid2' ;
56import { ListItem , AddItems , TextInputElement } from '../components' ;
67
78// React.memo is needed to prevent unnecessary re-renders of the List component
@@ -47,10 +48,10 @@ export const List = React.memo(function List({ data, listPath }) {
4748 columns = { 16 }
4849 justifyContent = "space-between"
4950 >
50- < Grid item size = { { xs : 2 , sm : 4 , md : 4 } } >
51+ < Grid size = { { xs : 2 , sm : 4 , md : 4 } } >
5152 < AddItems items = { data } />
5253 </ Grid >
53- < Grid item size = { { xs : 2 , sm : 4 , md : 4 } } >
54+ < Grid size = { { xs : 2 , sm : 4 , md : 4 } } >
5455 < form onSubmit = { ( event ) => event . preventDefault ( ) } >
5556 < TextInputElement
5657 id = "search-item"
You can’t perform that action at this time.
0 commit comments