editor: minor refactor

This commit is contained in:
Abdullah Atta
2023-06-01 21:11:23 +05:00
committed by Abdullah Atta
parent 0a88502e59
commit 1b1a962ec2

View File

@@ -230,7 +230,7 @@ export function ImageComponent(
</Flex>
)}
</DesktopOnly>
{selected && !isReadonly && (
{!isReadonly && selected && (
<Icon
className="drag-handle"
data-drag-handle