Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sstraatemans committed Oct 25, 2024
1 parent 712acb8 commit 3c0aaa8
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ export const ConventionalAuction = ({
return;
}

console.log('auctionDetails', auctionDetails);

setAuctionDetails(auctionDetails);

const highestBid = await getBid({
Expand All @@ -78,7 +76,6 @@ export const ConventionalAuction = ({
host: env.CHAINWEB_API_HOST,
});

console.log('highestBid', highestBid);
setHighestBid(highestBid);
}

Expand Down Expand Up @@ -191,8 +188,6 @@ export const ConventionalAuction = ({
}
};

console.log('bids', bids);

return (
<div className={styles.twoColumnRow}>
<img
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,6 @@ export const DutchAuction = ({ tokenImageUrl, sale }: DutchAuctionProps) => {
host: env.CHAINWEB_API_HOST,
});

console.log('auctionDetails', auctionDetails);

setAuctionDetails(auctionDetails);

updateCurrentPrice(auctionDetails);
Expand Down Expand Up @@ -190,7 +188,6 @@ export const DutchAuction = ({ tokenImageUrl, sale }: DutchAuctionProps) => {
const FUNDING_ACCOUNT_PRIVATE_KEY =
'251a920c403ae8c8f65f59142316af3c82b631fba46ddea92ee8c95035bd2898';

console.log('account', account);
const unsignedTransaction = Pact.builder
.execution(
`n_eef68e581f767dd66c4d4c39ed922be944ede505.webauthn-wallet.get-wallet-guard "${account.accountName}"`,
Expand Down Expand Up @@ -223,8 +220,6 @@ export const DutchAuction = ({ tokenImageUrl, sale }: DutchAuctionProps) => {

const command = await client.local(transaction);

console.log('command', command);

const isSuccess = command.result.status === 'success';

if (!isSuccess) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ const MyTokens = () => {
);
const querySnapshot = await getDocs(q);

console.log(querySnapshot);
const docs: NonFungibleTokenBalance[] = [];
querySnapshot.forEach((doc) => {
docs.push(doc.data() as NonFungibleTokenBalance);
Expand All @@ -56,7 +55,6 @@ const MyTokens = () => {
fetchOnSaleTokens(account?.accountName);
}, [account?.accountName]);

console.log({ tokens });
return (
<>
<Stack flex={1} flexDirection="column">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,11 @@ const TokenComponent = () => {
const q = query(salesRef, where('tokenId', '==', tokenId));
const querySnapshot = await getDocs(q);

console.log(querySnapshot);
const docs: Sale[] = [];
querySnapshot.forEach((doc) => {
docs.push(doc.data() as Sale);
});

console.log(docs[0]);
if (docs.length) {
setSaleData(docs[0]);
}
Expand Down

0 comments on commit 3c0aaa8

Please sign in to comment.