Tweak blur form handling

This commit is contained in:
Sam Becker 2024-05-07 14:31:57 -05:00
parent 90a437cfea
commit ec1985d311

View File

@ -215,7 +215,12 @@ export default function PhotoForm({
hideIfEmpty?: boolean,
shouldHide?: (formData: Partial<PhotoFormData>) => boolean,
) => {
if (key === 'blurData' && type === 'create' && !shouldDebugBlur) {
if (
key === 'blurData' &&
type === 'create' &&
!BLUR_ENABLED &&
!shouldDebugBlur
) {
return true;
} else {
return (