Skip to content

Commit

Permalink
made linter stop complaining
Browse files Browse the repository at this point in the history
  • Loading branch information
QuadAces committed Jun 20, 2024
1 parent 2c79d05 commit d67cc64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/Sponsors/sponsorModal.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { setFlagsFromString } from 'v8';
import { MouseEventHandler } from 'react';

Check warning on line 1 in frontend/src/components/Sponsors/sponsorModal.tsx

View workflow job for this annotation

GitHub Actions / build

'MouseEventHandler' is defined but never used
import { sponsorInfo } from '../../../public/data/data';
//@ts-ignore

export default function SponsorModal(props: { sponsorInfo: sponsorInfo | null; setFalse: any }) {

Check warning on line 4 in frontend/src/components/Sponsors/sponsorModal.tsx

View workflow job for this annotation

GitHub Actions / build

Unexpected any. Specify a different type
if (props.sponsorInfo === null) {
return (
Expand Down
1 change: 0 additions & 1 deletion frontend/src/components/Sponsors/sponsorlinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ function SponsorLinks() {
return (
<div className="flex justify-center items-center my-20">
<div className="w-100 flex flex-col gap-16">
{/* @ts-ignore */}
{showModal && (
<SponsorModal
sponsorInfo={information}
Expand Down

0 comments on commit d67cc64

Please sign in to comment.