mirror of
https://github.com/rowyio/rowy.git
synced 2026-07-13 05:48:53 +02:00
clean up console warnings
This commit is contained in:
@@ -292,7 +292,6 @@ export const defaultOverrides = (theme: Theme): ThemeOptions => ({
|
||||
theme.palette.background.elevation[closestElevation],
|
||||
};
|
||||
}
|
||||
console.log(classes);
|
||||
return classes;
|
||||
})(),
|
||||
},
|
||||
|
||||
@@ -221,6 +221,7 @@ export default function BulkActions({ selectedRows, columns, clearSelection }) {
|
||||
select
|
||||
variant="filled"
|
||||
className={classes.dropdown}
|
||||
value=""
|
||||
onChange={(event) => executeAction(event.target.value, "run")}
|
||||
margin="dense"
|
||||
InputProps={{
|
||||
@@ -249,7 +250,9 @@ export default function BulkActions({ selectedRows, columns, clearSelection }) {
|
||||
}`}
|
||||
>
|
||||
{actionColumns.map((action) => (
|
||||
<MenuItem value={action.key}>{action.name}</MenuItem>
|
||||
<MenuItem value={action.key} key={action.key}>
|
||||
{action.name}
|
||||
</MenuItem>
|
||||
))}
|
||||
</TextField>
|
||||
</Grid>
|
||||
|
||||
@@ -147,10 +147,6 @@ export default function Table() {
|
||||
|
||||
if (!tableActions || !tableState) return <></>;
|
||||
|
||||
const onHeaderDrop = (dragged: any, target: any) => {
|
||||
tableActions.column.reorder(dragged, target);
|
||||
};
|
||||
|
||||
const rowHeight = tableState.config.rowHeight;
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user