Jelajahi Sumber

fix MUI warnings

Signed-off-by: ruiyi.jiang <ruiyi.jiang@zilliz.com>
ruiyi.jiang 2 tahun lalu
induk
melakukan
d4818f3511

+ 1 - 1
client/src/components/grid/TableHead.tsx

@@ -72,7 +72,7 @@ const EnhancedTableHead: FC<TableHeadType> = props => {
           <TableCell
             key={headCell.id}
             align={headCell.align || 'left'}
-            padding={headCell.disablePadding ? 'none' : 'default'}
+            padding={headCell.disablePadding ? 'none' : 'normal'}
             sortDirection={
               orderBy === (headCell.sortBy || headCell.id) ? order : false
             }

+ 1 - 1
client/src/pages/search/VectorSearch.tsx

@@ -447,7 +447,7 @@ const VectorSearch = () => {
               },
             }}
             multiline
-            rows={5}
+            minRows={5}
             placeholder={searchTrans('vectorPlaceholder')}
             value={vectors}
             onChange={(e: React.ChangeEvent<{ value: unknown }>) => {