Skip to content

Commit

Permalink
fix: removed logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Meyanis95 committed Sep 23, 2024
1 parent 1791bc5 commit ef66445
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions client/src/pages/claim.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ const App = () => {
const [metamaskWalletAddress, setMetamaskwalletAddress] = useState("");
const [isLoaded, setIsLoaded] = useState(false);

console.log("Seed loaded in the frontend: ", nullifierSeed);

useEffect(() => {
if (anonAadhaar.status === "logged-in") {
setIsConnected(true);
Expand Down
3 changes: 0 additions & 3 deletions client/src/services/issuer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ interface ApiError extends Error {

export async function getIssuersList(): Promise<string[]> {
try {
console.log("Issuer loaded in the frontend: ", OnchainIssuerNodeHost);
const response = await axios.get<string[]>(
`${OnchainIssuerNodeHost}/api/v1/issuers`
);
Expand All @@ -33,7 +32,6 @@ export async function produceAuthQRCode(
if (!issuer) {
throw new Error("Issuer is not defined");
}
console.log("Issuer loaded in the frontend: ", OnchainIssuerNodeHost);
const url = new URL(`${OnchainIssuerNodeHost}/api/v1/requests/auth`);
url.search = new URLSearchParams({ issuer: issuer }).toString();
const response = await axios.get<any>(url.toString());
Expand All @@ -54,7 +52,6 @@ export async function checkAuthSessionStatus(
sessionId: string
): Promise<AuthSessionStatusResponse | null> {
try {
console.log("Issuer loaded in the frontend: ", OnchainIssuerNodeHost);
const url = new URL(`${OnchainIssuerNodeHost}/api/v1/status`);
url.search = new URLSearchParams({ id: sessionId }).toString();
const response = await axios.get<any>(url.toString());
Expand Down

0 comments on commit ef66445

Please sign in to comment.