Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Jun 13, 2020
1 parent c1491f1 commit cccb5af
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
8 changes: 1 addition & 7 deletions packages/material-ui/src/Table/Table.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,7 @@ const Table = React.forwardRef(function Table(props, ref) {
<Component
role={Component === defaultComponent ? null : 'table'}
ref={ref}
className={clsx(
classes.root,
{
[classes.stickyHeader]: stickyHeader,
},
className,
)}
className={clsx(classes.root, { [classes.stickyHeader]: stickyHeader }, className)}
{...other}
/>
</TableContext.Provider>
Expand Down
1 change: 0 additions & 1 deletion packages/material-ui/src/Table/TableContext.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { Padding, Size } from './Table';
interface TableContextProps {
padding: Padding;
size: Size;
stickyHeader: boolean;
}

declare const TableContext: Context<TableContextProps | undefined>;
Expand Down

0 comments on commit cccb5af

Please sign in to comment.