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