Skip to content

Commit

Permalink
fix: linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkmcadoo committed Oct 24, 2024
1 parent 0daedf8 commit 8ddf0aa
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/components/HomepageBanner.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,13 @@
import React, { useState } from 'react';

Check failure on line 1 in src/components/HomepageBanner.js

View workflow job for this annotation

GitHub Actions / run linter

'useState' is defined but never used. Allowed unused vars must match /^_/u
import { navigate } from '@reach/router';

import { css } from '@emotion/react';
import {
Link,
SearchInput,
useTranslation,
addPageAction,
} from '@newrelic/gatsby-theme-newrelic';
import { useTranslation } from '@newrelic/gatsby-theme-newrelic';
import bannerBackground from 'images/bannerBackground.svg';

const HomepageBanner = () => {
const bannerHeight = '200px';
const mobileBreakpoint = '450px';
const { t } = useTranslation();
const [searchTerm, setSearchTerm] = useState('');

return (
<section
Expand Down

0 comments on commit 8ddf0aa

Please sign in to comment.