From 99cf117c94360e9b064bbfe4c5074e87bb64f2fc Mon Sep 17 00:00:00 2001 From: mbaharip <62494292+mbahArip@users.noreply.github.com> Date: Mon, 8 May 2023 11:51:21 +0700 Subject: [PATCH] Fix thumbnail on search doesn't show up --- src/components/layout/Navbar/index.tsx | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/src/components/layout/Navbar/index.tsx b/src/components/layout/Navbar/index.tsx index de4ced1..026e150 100644 --- a/src/components/layout/Navbar/index.tsx +++ b/src/components/layout/Navbar/index.tsx @@ -1,11 +1,4 @@ -import { - useCallback, - useContext, - useEffect, - useRef, - useState, - useTransition, -} from "react"; +import { useCallback, useContext, useEffect, useRef, useState } from "react"; import siteConfig from "config/site.config"; import Link from "next/link"; import Image from "next/image"; @@ -278,8 +271,8 @@ export default function Navbar({ isUnlocked, setIsUnlocked }: Props) {
{item.thumbnailLink ? ( - {item.name ) : (