removed logging

This commit is contained in:
Anton Tranelis 2024-07-23 22:44:05 +02:00
parent e7482adaf9
commit fadd06c60f

View File

@ -58,11 +58,7 @@ export const linkItem = async (id: string, item, updateItem) => {
}
export const unlinkItem = async (id: string, item, updateItem) => {
console.log(id);
let new_relations = item.relations?.filter(r => r.related_items_id !== id)
console.log(new_relations);
const updatedItem = { id: item.id, relations: new_relations }
@ -164,8 +160,6 @@ export const onUpdateItem = async (state, item, tags, addTag, setLoading, naviga
});
setLoading(true);
console.log(item.layer);
if (!item.new) {
item?.layer?.api?.updateItem && toast.promise(