diff options
author | Thomas F. K. Jorna <[email protected]> | 2022-09-27 15:35:19 +0200 |
---|---|---|
committer | Thomas F. K. Jorna <[email protected]> | 2022-09-27 15:35:19 +0200 |
commit | fb26ac08618339f113749ea85c88ea69d255402b (patch) | |
tree | 9b8ccf64df290dc5c5cdf70778cca737b9aec3ba /components/Sidebar/OrgImage.tsx | |
parent | a575d14b6621d5464d33d52ca642f2db70c3e370 (diff) |
fix: small bugs
Diffstat (limited to 'components/Sidebar/OrgImage.tsx')
-rw-r--r-- | components/Sidebar/OrgImage.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
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<any>(null) + // const [image, setImage] = useState<any>(null) /* ) * .then((res) => res.blob()) |