Fix type issue

This commit is contained in:
Owen
2026-07-07 15:21:12 -04:00
parent d9608bd408
commit a8c255ef71
2 changed files with 5 additions and 6 deletions
@@ -161,7 +161,8 @@ const createSiteResourceSchema = z
return true;
}
return (
data.destination !== undefined && data.destination.trim() !== ""
data.destination !== undefined &&
data.destination?.trim() !== ""
);
},
{