From b8c1e054258320407a31be18a014e0a7baf09319 Mon Sep 17 00:00:00 2001 From: Clemens Solar Date: Sun, 21 Jan 2024 21:29:25 +0100 Subject: [PATCH] fix: satisfy linter --- src/components/Customizer.tsx | 3 +-- src/lib/fetcha/thingiverse.com.ts | 7 ------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/src/components/Customizer.tsx b/src/components/Customizer.tsx index d0a9b7b..d5880bf 100644 --- a/src/components/Customizer.tsx +++ b/src/components/Customizer.tsx @@ -38,8 +38,7 @@ export default function Customizer({ parameters, onChange }: Props) { }; const handleParameterChange = ( - event: React.ChangeEvent, - newValue? + event: React.ChangeEvent ) => { changeParameter(event.target.name, event.target.value); }; diff --git a/src/lib/fetcha/thingiverse.com.ts b/src/lib/fetcha/thingiverse.com.ts index 621430b..52fb75c 100644 --- a/src/lib/fetcha/thingiverse.com.ts +++ b/src/lib/fetcha/thingiverse.com.ts @@ -1,12 +1,5 @@ import { FetchaFile } from '../fetcha'; -type Stl = { - id: number; - name: string; - fileSize: number; - // filePreviewPath: string; // Always empty in my tests -}; - export default async function thingiverseComFetcha( url: string, fileNameFilter?: string