Open khakimov opened 11 months ago
generating empty img tag
<img class="CK_hcajY7MNfGQs9RENC" src="">
from here:
https://github.com/UdaraJay/Pile/blob/2ee06875fe86a0e645eb79e645f29f124fce8d5b/src/renderer/pages/Pile/Editor/LinkPreviews/LinkPreview/index.jsx#L85-L90
easiest way to {image && <img src={image} />}, but showing nothing maybe not the option. Shall we use a pre-set icon(s) for empty/null case...?
{image && <img src={image} />}
I noticed this too! I think link icon makes sense in place. feel free to PR it, otherwise I'll fix in the future.
generating empty img tag
from here:
https://github.com/UdaraJay/Pile/blob/2ee06875fe86a0e645eb79e645f29f124fce8d5b/src/renderer/pages/Pile/Editor/LinkPreviews/LinkPreview/index.jsx#L85-L90
easiest way to
{image && <img src={image} />}
, but showing nothing maybe not the option. Shall we use a pre-set icon(s) for empty/null case...?