Skip to content

Commit c05cd45

Browse files
committed
updating types as per request
1 parent 4086a9c commit c05cd45

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/components/content-presentation/table/components/TableRow.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import React, { Children, cloneElement, FC, HTMLProps, useContext, useEffect } f
44
import TableContext from '../TableContext';
55
import { getHeadingsFromChildren, isTableCell } from '../TableHelpers';
66
import TableSectionContext, { TableSection } from '../TableSectionContext';
7-
import { TableCellProps } from './TableCell';
87

98
const TableRow: FC<HTMLProps<HTMLTableRowElement>> = ({ className, children, ...rest }) => {
109
const section = useContext(TableSectionContext);
@@ -22,7 +21,7 @@ const TableRow: FC<HTMLProps<HTMLTableRowElement>> = ({ className, children, ...
2221
return cloneElement(child, {
2322
_responsive: isResponsive,
2423
_responsiveHeading: `${headings[index] || ''} `,
25-
} as Partial<TableCellProps>);
24+
});
2625
}
2726
return child;
2827
});

src/components/navigation/breadcrumb/Breadcrumb.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { Children, FC, HTMLProps, ReactNode } from 'react';
1+
import React, { FC, HTMLProps, ReactNode } from 'react';
22
import classNames from 'classnames';
33
import { AsElementLink } from '@util/types/LinkTypes';
44
import { childIsOfComponentType } from '@util/types/TypeGuards';

0 commit comments

Comments
 (0)