Skip to content

Commit

Permalink
[core] Remove dead code (#2088)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored Jul 7, 2021
1 parent 2c219cc commit 7964e78
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions packages/grid/x-grid/src/tests/reorder.XGrid.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ describe('<XGrid /> - Reorder', () => {

return (
<div style={{ width: 300, height: 300 }}>
<XGrid apiRef={apiRef} rows={rows} columns={columns} onPageChange={() => {}} />
<XGrid apiRef={apiRef} rows={rows} columns={columns} />
</div>
);
};
Expand All @@ -102,7 +102,7 @@ describe('<XGrid /> - Reorder', () => {

return (
<div style={{ width: 300, height: 300 }}>
<XGrid apiRef={apiRef} rows={rows} columns={columns} onPageChange={() => {}} />
<XGrid apiRef={apiRef} rows={rows} columns={columns} />
</div>
);
};
Expand Down Expand Up @@ -138,7 +138,7 @@ describe('<XGrid /> - Reorder', () => {

return (
<div style={{ width: 300, height: 300 }}>
<XGrid apiRef={apiRef} rows={rows} columns={columns} onPageChange={() => {}} />
<XGrid apiRef={apiRef} rows={rows} columns={columns} />
</div>
);
};
Expand Down Expand Up @@ -174,13 +174,7 @@ describe('<XGrid /> - Reorder', () => {

return (
<div style={{ width: 300, height: 300 }}>
<XGrid
apiRef={apiRef}
rows={rows}
columns={columns}
onPageChange={() => {}}
disableColumnReorder
/>
<XGrid apiRef={apiRef} rows={rows} columns={columns} disableColumnReorder />
</div>
);
};
Expand All @@ -205,13 +199,7 @@ describe('<XGrid /> - Reorder', () => {

return (
<div style={{ width: 300, height: 300 }}>
<XGrid
apiRef={apiRef}
rows={rows}
columns={columns}
onPageChange={() => {}}
disableColumnReorder
/>
<XGrid apiRef={apiRef} rows={rows} columns={columns} disableColumnReorder />
</div>
);
};
Expand Down

0 comments on commit 7964e78

Please sign in to comment.