Skip to content

Commit

Permalink
chore: fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
rudouglas committed Jun 3, 2021
1 parent 6a7138f commit 2bb793f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/InstallButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ import { css } from '@emotion/react';

const sampleItems = new Array(10).fill().map((_, i) => i + 1);

const createMenuItems = (items) =>
items.map((item) => <Dropdown.MenuItem>{item}</Dropdown.MenuItem>);
const createMenuItems = (items, index) =>
items.map((item) => (
<Dropdown.MenuItem key={index}>{item}</Dropdown.MenuItem>
));

const createInstallLink = () => {
return `https://one.newrelic.com/launcher/nr1-core.explorer`;
Expand Down

0 comments on commit 2bb793f

Please sign in to comment.