5tarlight / Jasao

Space for you, space for us
https://jasao.kro.kr
MIT License
2 stars 0 forks source link

[Bug] Image size check of popup is not working as intended #93

Closed 5tarlight closed 11 months ago

5tarlight commented 11 months ago

https://github.com/5tarlight/Jasao/blob/810cd693c2b56632b3bffb7b2bdf2513f629f652/jasao-frontend/src/components/popup/UploadFilePopup.tsx#L79-L82

imgRef.current is always truthy because default image will cover if there is not selected image.

https://github.com/5tarlight/Jasao/blob/810cd693c2b56632b3bffb7b2bdf2513f629f652/jasao-frontend/src/components/popup/UploadFilePopup.tsx#L202

And, this alt is for test