From d4c8b1c22bf4ed54ba166f34c7ae2d6f7e6e0652 Mon Sep 17 00:00:00 2001 From: Minh-Phuc Tran <25026967+phuctm97@users.noreply.github.com> Date: Fri, 18 Feb 2022 11:35:49 +0700 Subject: [PATCH] fix: don't use next/image for svgs --- next.config.js | 3 --- pages/[[...slug]].tsx | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/next.config.js b/next.config.js index 3ca2fae..da1bb77 100644 --- a/next.config.js +++ b/next.config.js @@ -1,6 +1,3 @@ module.exports = { reactStrictMode: true, - images: { - domains: ["api.producthunt.com"], - }, }; diff --git a/pages/[[...slug]].tsx b/pages/[[...slug]].tsx index 46ec2b3..10ee5a7 100644 --- a/pages/[[...slug]].tsx +++ b/pages/[[...slug]].tsx @@ -7,7 +7,6 @@ import React, { useRef, useState, } from "react"; -import Image from "next/image"; import { ImSpinner } from "react-icons/im"; import { HiCheck, @@ -209,7 +208,8 @@ const Index: NextPage = ({ initialCommandString }) => { rel="noopener noreferrer" className="absolute bottom-[3.25rem]" > -