Remove extra border around when no overlay
This commit is contained in:
parent
7496debcd1
commit
037559fd3d
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ const Image = ({
|
||||||
return (
|
return (
|
||||||
<Wrapper onDoubleClick={onDblClick}>
|
<Wrapper onDoubleClick={onDblClick}>
|
||||||
{unflippedFor === currentUser.id && <OnlyYouLabel>Only you</OnlyYouLabel>}
|
{unflippedFor === currentUser.id && <OnlyYouLabel>Only you</OnlyYouLabel>}
|
||||||
{overlay && (
|
{overlay && overlay.content && (
|
||||||
<OverlayImage
|
<OverlayImage
|
||||||
src={overlay.content}
|
src={overlay.content}
|
||||||
draggable={false}
|
draggable={false}
|
||||||
|
|
Loading…
Reference in a new issue