mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-22 08:46:39 -06:00
Use index as a key for the table header group in PgReactTableStyled component. #7419
This commit is contained in:
parent
5edeee8017
commit
b9088b0afa
@ -224,8 +224,8 @@ PgReactTableRowExpandContent.propTypes = {
|
||||
export function PgReactTableHeader({table}) {
|
||||
return (
|
||||
<div className='pgrt-header'>
|
||||
{table.getHeaderGroups().map((headerGroup) => (
|
||||
<div key={''} className='pgrt-header-row' style={{ }}>
|
||||
{table.getHeaderGroups().map((headerGroup, idx) => (
|
||||
<div key={idx} className='pgrt-header-row' style={{ }}>
|
||||
{headerGroup.headers.map((header) => (
|
||||
<div
|
||||
key={header.id}
|
||||
|
Loading…
Reference in New Issue
Block a user