From 0243a4c32fb868d2926f05c109a1c720dfeb73e8 Mon Sep 17 00:00:00 2001 From: rizaldy Date: Wed, 28 Feb 2024 01:45:51 +0700 Subject: [PATCH] feat: use next-image-export-optimizer --- components/Feed.js | 11 ++++++++++- components/Navbar.js | 9 ++++++++- components/Profile.js | 6 +++++- 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/components/Feed.js b/components/Feed.js index e03583c..0d5e5e7 100644 --- a/components/Feed.js +++ b/components/Feed.js @@ -1,3 +1,5 @@ +import ExportedImage from "next-image-export-optimizer"; + const Feed = ({ media, type, @@ -24,7 +26,14 @@ const Feed = ({ }); }} > - {url} + ))} diff --git a/components/Navbar.js b/components/Navbar.js index 45b246c..119d400 100644 --- a/components/Navbar.js +++ b/components/Navbar.js @@ -1,4 +1,5 @@ import Link from "next/link"; +import ExportedImage from "next-image-export-optimizer"; const Navbar = ({ name, logo }) => (