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

Commit b743f94

Browse files
committed
Refactoring variable names
Make it more obvious that scanner (now scanners) refers to an array Make it more obvious that persistenceProivider (now persistenceProividers) refers to an array
1 parent 4b4903f commit b743f94

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/pages/integrations/index.js

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

66
const Integrations = props => {
7-
const scanner = props.data.scanner.edges;
8-
const persistenceProvider = props.data.persistenceProvider.edges;
7+
const scanners = props.data.scanner.edges;
8+
const persistenceProviders = props.data.persistenceProvider.edges;
99

1010
return (
1111
<Layout bodyClass="page-integrations">
@@ -31,7 +31,7 @@ const Integrations = props => {
3131
<div className="col-12">
3232
<h2 className="title-3 text-dark mb-2">Scanner</h2>
3333
</div>
34-
{scanner.map((edge, index) => (
34+
{scanners.map((edge, index) => (
3535
<div
3636
key={index}
3737
className="col-12 col-md-6 col-lg-6 col-sm-12 mb-2 no-highlight"
@@ -67,7 +67,7 @@ const Integrations = props => {
6767
<div className="col-12">
6868
<h2 className="title-3 text-dark mb-2">Persistence Provider</h2>
6969
</div>
70-
{persistenceProvider.map(edge => (
70+
{persistenceProviders.map(edge => (
7171
<div
7272
key={edge.node.id}
7373
className="col-12 col-md-6 col-lg-6 col-sm-12 mb-2 no-highlight"

0 commit comments

Comments
 (0)