Skip to content
This repository was archived by the owner on Apr 21, 2026. It is now read-only.

Commit ace3e5f

Browse files
author
dpatanin
committed
resolve key prop error
1 parent c418572 commit ace3e5f

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/pages/integrations/index.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import SEO from '../../components/SEO';
44
import Layout from '../../components/Layout';
55
import IntegrationCard from '../../components/IntegrationCard';
66

7-
const Integration = (props) => {
7+
const Integrations = (props) => {
88
const scanner = props.data.scanner.edges;
99
const hook = props.data.hook.edges;
1010
const persistenceProvider = props.data.persistenceProvider.edges;
@@ -69,9 +69,9 @@ const Integration = (props) => {
6969
use.
7070
</p>
7171
</div>
72-
{hook.map((edge) => (
72+
{hook.map((edge, index) => (
7373
<div
74-
key={edge.node.id}
74+
key={index}
7575
className="col-12 col-md-6 col-lg-6 col-sm-12 no-highlight"
7676
>
7777
<Link to={edge.node.frontmatter.path}>
@@ -92,14 +92,14 @@ const Integration = (props) => {
9292
use.
9393
</p>
9494
</div>
95-
{persistenceProvider.map((edge) => (
95+
{persistenceProvider.map((edge, index) => (
9696
<div
97-
key={edge.node.id}
97+
key={index}
9898
className="col-12 col-md-6 col-lg-6 col-sm-12 mb-2 no-highlight"
9999
>
100100
<Link to={edge.node.frontmatter.path}>
101101
<IntegrationCard frontmatter={edge.node.frontmatter} />
102-
</Link>
102+
</Link>
103103
</div>
104104
))}
105105
</div>
@@ -178,4 +178,4 @@ export const query = graphql`
178178
}
179179
`;
180180

181-
export default Integration;
181+
export default Integrations;

0 commit comments

Comments
 (0)