Remove DEV check

It refers to local dev, not the dev site
pull/383/head
Lim Chee Aun 2024-01-01 18:29:21 +08:00
rodzic 62c8a51307
commit d2fb86036c
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

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