diff --git a/components/AppShelf/AddAppShelfItem.tsx b/components/AppShelf/AddAppShelfItem.tsx index 6858e1e46..c7d5f1f28 100644 --- a/components/AppShelf/AddAppShelfItem.tsx +++ b/components/AppShelf/AddAppShelfItem.tsx @@ -72,16 +72,7 @@ export default function AddItemShelfItem(props: any) { ); } -function MatchIcon( - name: string, - form: UseForm<{ - type: any; - name: any; - icon: any; - url: any; - apiKey: any; - }> -) { +function MatchIcon(name: string, form: any) { fetch(`https://cdn.jsdelivr.net/gh/walkxhub/dashboard-icons/png/${name.replace(/\s+/g, '-').toLowerCase()}.png`) .then((res) => { if (res.status === 200) {