React Map Optimization, [missing map keys ] (#283)

* comment unused import ( minmizes js )

* Add keys missing keys on map for better React Diff

* [ImgBot] Optimize images

*Total -- 821.02kb -> 674.06kb (17.9%)

/public/nostrich_512.png -- 650.16kb -> 527.94kb (18.8%)
/public/nostrich_256.png -- 170.86kb -> 146.12kb (14.48%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

---------

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
This commit is contained in:
Ahmed Rowaihi
2023-02-13 01:06:21 +03:00
committed by GitHub
parent 94beae35bc
commit 2adf176dde
6 changed files with 12 additions and 11 deletions

View File

@ -12,7 +12,7 @@ import { DefaultRelays, EmailRegex } from "Const";
import { bech32ToHex, unwrap } from "Util";
import { HexKey } from "Nostr";
import ZapButton from "Element/ZapButton";
import useImgProxy from "Feed/ImgProxy";
// import useImgProxy from "Feed/ImgProxy";
interface ArtworkEntry {
name: string;
@ -51,7 +51,7 @@ export default function LoginPage() {
const [key, setKey] = useState("");
const [error, setError] = useState("");
const [art, setArt] = useState<ArtworkEntry>();
const { proxy } = useImgProxy();
// const { proxy } = useImgProxy();
useEffect(() => {
if (publicKey) {