diff --git a/src/Documentation/Tutorials.js b/src/Documentation/Tutorials.js index 9991c32ec2..1a71cb98f9 100644 --- a/src/Documentation/Tutorials.js +++ b/src/Documentation/Tutorials.js @@ -10,8 +10,8 @@ export default function Tutorials({ compact, tutorials }) { return ( - {tutorialsData.map(([key, value]) => { - const ButtonComponent = icons[key] || ExternalButton + {tutorialsData.map(([k, value]) => { + const ButtonComponent = icons[k] || ExternalButton return ( - {icons[key] && } - {!compact && `Run in ${startCase(key)}`} + {icons[k] && } + {!compact && `Run in ${startCase(k)}`} ) })}