mirror of
https://github.com/Nezumi-2711/react-training.git
synced 2026-09-22 20:01:59 +00:00
Fix bug and optimzed code
This commit is contained in:
@@ -42,7 +42,7 @@ const Body = <T,>({ data, render }: ITableBody<T>) => {
|
||||
|
||||
const Row = ({ children }: ITable) => {
|
||||
const { columns } = useContext(TableContext);
|
||||
|
||||
|
||||
return <StyledRow columns={columns}>{children}</StyledRow>;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user