From f75d5ac0b7f17e56a5d5b5d5ee36a407a69eb6bf Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Wed, 17 Nov 2021 12:55:39 +0100 Subject: fix(preview): just ditch next image --- components/Sidebar/OrgImage.tsx | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/components/Sidebar/OrgImage.tsx b/components/Sidebar/OrgImage.tsx index b146c43..0922834 100644 --- a/components/Sidebar/OrgImage.tsx +++ b/components/Sidebar/OrgImage.tsx @@ -1,3 +1,4 @@ +/* eslint-disable @next/next/no-img-element */ import React, { useEffect, useState } from 'react' import Image from 'next/image' import path from 'path' @@ -45,15 +46,8 @@ export const OrgImage = (props: OrgImageProps) => { const encodedPath = encodeURIComponent(encodeURIComponent(fullPath)) return ( - - + + Wow, an image. ) } -- cgit v1.2.3