From fb26ac08618339f113749ea85c88ea69d255402b Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Tue, 27 Sep 2022 15:35:19 +0200 Subject: fix: small bugs --- components/Sidebar/OrgImage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'components/Sidebar/OrgImage.tsx') diff --git a/components/Sidebar/OrgImage.tsx b/components/Sidebar/OrgImage.tsx index 0922834..f371f49 100644 --- a/components/Sidebar/OrgImage.tsx +++ b/components/Sidebar/OrgImage.tsx @@ -1,5 +1,5 @@ /* eslint-disable @next/next/no-img-element */ -import React, { useEffect, useState } from 'react' +import React, { useState } from 'react' import Image from 'next/image' import path from 'path' import { Container } from '@chakra-ui/react' @@ -13,7 +13,7 @@ export interface OrgImageProps { export const OrgImage = (props: OrgImageProps) => { const { src, file } = props - const [image, setImage] = useState(null) + // const [image, setImage] = useState(null) /* ) * .then((res) => res.blob()) -- cgit v1.2.3