Skip to content

Commit

Permalink
clean console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
JW-Rami committed Oct 19, 2023
1 parent 3ff706c commit d5bb3f0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion client/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ function App() {
reset();
return () => ref.current.forEach(clearTimeout);
}, [isUserLogged]);
console.log("re rendu");
// console.log("re rendu");
const [crossmintPayloadLocationdata, setCrossmintPayloadLocationdata] =
useState(null);
return (
Expand Down
16 changes: 8 additions & 8 deletions client/src/Pages/Home/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,13 +240,13 @@ function Home({

let judgement;
if (isUserFan === false && dataPost[i]?.visibility === false) {
console.log("pas fan et post privé");
// console.log("pas fan et post privé");
judgement = true;
} else if (isUserFan === true && dataPost[i]?.visibility === false) {
console.log("Fan et post privé");
// console.log("Fan et post privé");
judgement = false;
} else if (dataPost[i]?.visibility === true) {
console.log("post public");
// console.log("post public");
judgement = false;
}

Expand All @@ -255,7 +255,7 @@ function Home({
// console.log(tempIsUserFanArray);
setIsUserFanArray(tempIsUserFanArray);
};
console.log("appel de la fontion feedDataFrom")
// console.log("appel de la fontion feedDataFrom")
feedDataFromAlchemyAndFirebase();

// if (loggedInUser.metamask) {
Expand Down Expand Up @@ -359,8 +359,8 @@ console.log("appel de la fontion feedDataFrom")
e.currentTarget.id === dataPost[i].id &&
dataPost[i].isDropdownClicked === false
) {
console.log(e.currentTarget.id);
console.log(dataPost[i].id);
// console.log(e.currentTarget.id);
// console.log(dataPost[i].id);
const newData = [...dataPost];
newData[i].isDropdownClicked = true;
setPostData(newData);
Expand Down Expand Up @@ -402,7 +402,7 @@ console.log("appel de la fontion feedDataFrom")
// console.log(isLogged)
function handleClickCopyPostLink(postId) {
navigator.clipboard.writeText(`https://staging.sofan.app/post/${postId}`);
console.log(postId);
// console.log(postId);
setIsCopyPostLinkClicked(true);
// const timeOutAnimationCopyClicked =
setTimeout(() => {
Expand Down Expand Up @@ -466,7 +466,7 @@ console.log("appel de la fontion feedDataFrom")
contractAddresses: arraySofanCollection,
}
);
console.log("nftsFromOwner --> ", nftsFromOwner);
// console.log("nftsFromOwner --> ", nftsFromOwner);
let athletesSupportingArray = [];
for (let i = 0; i < nftsFromOwner.ownedNfts.length; i++) {
const elementFromAlchemy = nftsFromOwner.ownedNfts[i];
Expand Down

0 comments on commit d5bb3f0

Please sign in to comment.