removed console logs
This commit is contained in:
parent
a4a3ad2e40
commit
6b8fc327e1
3 changed files with 0 additions and 5 deletions
|
@ -51,7 +51,6 @@ function PhotoSwipe(props: Iprops) {
|
|||
}, [isOpen]);
|
||||
|
||||
function updateFavButton() {
|
||||
console.log(this.currItem.id, props.favItemIds)
|
||||
setIsFav(isInFav(this?.currItem));
|
||||
}
|
||||
|
||||
|
@ -113,14 +112,12 @@ function PhotoSwipe(props: Iprops) {
|
|||
if (!isInFav(file)) {
|
||||
favItemIds.add(file.id);
|
||||
await addToFavorites(file);
|
||||
console.log("added to Favorites");
|
||||
setIsFav(true);
|
||||
setFavItemIds(favItemIds);
|
||||
}
|
||||
else {
|
||||
favItemIds.delete(file.id);
|
||||
await removeFromFavorites(file)
|
||||
console.log("removed from Favorites");
|
||||
setIsFav(false);
|
||||
setFavItemIds(favItemIds);
|
||||
|
||||
|
|
|
@ -364,7 +364,6 @@ class UploadService {
|
|||
resolve(blob);
|
||||
}), 'image/jpeg', 0.4
|
||||
});
|
||||
console.log(URL.createObjectURL(thumbnailBlob));
|
||||
const thumbnail = this.getUint8ArrayView(thumbnailBlob);
|
||||
return thumbnail;
|
||||
} catch (e) {
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
export const getEndpoint = () => {
|
||||
const endPoint = process.env.NEXT_PUBLIC_ENTE_ENDPOINT ?? "https://api.ente.io";
|
||||
console.log(endPoint);
|
||||
return endPoint;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue