Remove DEV check

It refers to local dev, not the dev site
This commit is contained in:
Lim Chee Aun 2024-01-01 18:29:21 +08:00
parent 62c8a51307
commit d2fb86036c

View file

@ -295,8 +295,7 @@ function MediaModal({
<Icon icon="popout" /> <Icon icon="popout" />
<span>Open original media</span> <span>Open original media</span>
</MenuLink> </MenuLink>
{import.meta.env.DEV && // Only dev for now {!!states.settings.mediaAltGenerator &&
!!states.settings.mediaAltGenerator &&
!!IMG_ALT_API_URL && !!IMG_ALT_API_URL &&
!!mediaAttachments[currentIndex]?.url && !!mediaAttachments[currentIndex]?.url &&
!mediaAttachments[currentIndex]?.description && !mediaAttachments[currentIndex]?.description &&