revert
This commit is contained in:
@ -26,7 +26,7 @@ export default function AvailabilityForm({ publisherId, existingItems, inline, o
|
||||
};
|
||||
|
||||
//coalsce existingItems to empty array
|
||||
let existingItems = existingItems || [];
|
||||
existingItems = existingItems || [];
|
||||
|
||||
const [editMode, setEditMode] = useState(existingItems.length > 0);
|
||||
const [publisher, setPublisher] = useState({ id: publisherId });
|
||||
|
Reference in New Issue
Block a user