Skip to content

Commit

Permalink
build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rushikeshnimkar committed Oct 15, 2024
1 parent 6938832 commit 79898d1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pages/subscription.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ const Subscription = () => {
setNftError(null);
try {
const chainSymbol = Cookies.get("Chain_symbol") || "sol"; // Default to "sol" if not set
const nfts = await fetchUserNFTs(wallet, chainSymbol);
const nfts = await fetchUserNFTs(wallet);
setnftdata(nfts);
} catch (error) {
console.error("Error fetching NFTs:", error);
Expand Down Expand Up @@ -693,7 +693,7 @@ const Subscription = () => {
);
setUniqueRegions(regions);

// console.log("erebrus nodes", payload);
console.log("erebrus nodes", payload);
}
} catch (error) {
console.error("Error fetching nodes data:", error);
Expand Down Expand Up @@ -796,11 +796,11 @@ const Subscription = () => {
};

// Log activeNodesData and filtered result
// console.log("Current activeNodesData:", activeNodesData);
console.log("Current activeNodesData:", activeNodesData);
const filteredNodes = activeNodesData.filter(
(node) => node.region === regionname
);
// console.log("Filtered nodes based on region:", filteredNodes, regionname);
console.log("Filtered nodes based on region:", filteredNodes, regionname);

if (!loggedin) {
return (
Expand Down

0 comments on commit 79898d1

Please sign in to comment.