From 0d84c26e088daaf95fde93ead1a69b5173d6c44f Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Fri, 21 Oct 2022 13:11:12 +0100 Subject: [PATCH] Revert "fix: try another fix for StaticImageData" This reverts commit 1bf1cf9c83a227e3ae27b80ab7482788853332d9. --- src/pages/tools.tsx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/pages/tools.tsx b/src/pages/tools.tsx index 1ac3309..bc58008 100644 --- a/src/pages/tools.tsx +++ b/src/pages/tools.tsx @@ -10,24 +10,17 @@ import twitterImg from "../../public/screenshots/twitter.png"; import { Card } from "../web/common/Card"; import { Layout } from "../web/common/Layout"; -/* type StaticImageData = { src: string; height: number; width: number; placeholder?: string; }; -*/ type AnyTool = { title: string; description: string; - img?: { - src: string; - height: number; - width: number; - placeholder?: string; - }; + img?: StaticImageData; }; type InnerTool = AnyTool & { innerLink: string };