Skip to content

Commit

Permalink
fix: fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
roadlittledawn committed Jun 22, 2021
1 parent c871c2a commit c5cb659
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/ImageSlider/ImageSlider.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import PropTypes from 'prop-types';
import React, { useState } from 'react';
import { css } from '@emotion/react';
import { Button, Icon } from '@newrelic/gatsby-theme-newrelic';
import { Transition, animated, config } from 'react-spring';
import { Transition, animated } from 'react-spring';

const ImageSlider = ({ images, height }) => {
const [selectedImageIndex, setSelectedImageIndex] = useState(0);
Expand Down Expand Up @@ -137,6 +137,7 @@ const ImageSlider = ({ images, height }) => {
{images.map((_, index) => (
<Button
onClick={() => handleClickSpecificSlide(index)}
key={`goToSlide${index}`}
variant={Button.VARIANT.PLAIN}
css={css`
border: none;
Expand Down

0 comments on commit c5cb659

Please sign in to comment.