diff --git a/src/components/description/DescriptionPanel.tsx b/src/components/description/DescriptionPanel.tsx index bdfac1881..b836eaf0e 100644 --- a/src/components/description/DescriptionPanel.tsx +++ b/src/components/description/DescriptionPanel.tsx @@ -39,7 +39,7 @@ export const DescriptionPanel: FC = ({ index, }) => { if (image && !image.positionFromMdx) { - image.positionFromMdx = Boolean(index % 2) ? 'left' : 'right'; + image.positionFromMdx = index % 2 ? 'left' : 'right'; } const isFullPage =