There's a bug with the filter function which is supposed ensure we remove any null values added to the array from react-hook-form. If the app is in an empty state you cannot save without a showcase image since the url is null and url.startsWith() will throw an error.
The fix is using a loose check for null, should catch null and undefined
There's a bug with the filter function which is supposed ensure we remove any null values added to the array from react-hook-form. If the app is in an empty state you cannot save without a showcase image since the url is null and url.startsWith() will throw an error.
The fix is using a loose check for null, should catch null and undefined