Skip to content

Commit

Permalink
fix unused vars in code scan alerts (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjheffner authored Jan 3, 2024
1 parent b54114c commit 07f306f
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 95 deletions.
1 change: 0 additions & 1 deletion src/data/queries/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { queries } from '.'
import { NodeEvent } from '@/types/drupal/node'
import { Event } from '@/types/formatted/event'
import { GetServerSidePropsContext } from 'next'
import { MediaImage } from '@/types/formatted/media'
import {
entityBaseFields,
fetchSingleEntityOrPreview,
Expand Down
3 changes: 2 additions & 1 deletion src/templates/globals/banners/facilityBanner/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ export const FacilityBanner = ({
dismiss,
}: FormattedFacilityBanner): JSX.Element => {
const [isClicked, setIsClicked] = useState(false)
const [outputStatus, setOutputStatus] = useState(true)
// const [outputStatus, setOutputStatus] = useState(true)
const outputStatus = true
const analyticsRef = useRef(null)

useEffect(() => {
Expand Down
1 change: 0 additions & 1 deletion src/types/drupal/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ import {
TaxonomyTermLcCategories,
TaxonomyTermHealthCareServiceTaxonomy,
} from './taxonomy_term'
import { DrupalJsonApiParams } from 'drupal-jsonapi-params'

/** Union of all node types. */
export type NodeTypes =
Expand Down
3 changes: 0 additions & 3 deletions utilities/update-launch-template/requirements.txt

This file was deleted.

89 changes: 0 additions & 89 deletions utilities/update-launch-template/update-lt.py

This file was deleted.

0 comments on commit 07f306f

Please sign in to comment.