From 087bbc1b3dfb14fee7097447e3865a515fe4669f Mon Sep 17 00:00:00 2001 From: Vivian Plasencia Date: Fri, 19 Jul 2024 17:16:26 +0200 Subject: [PATCH] refactor: support groups with tree depth 0 --- .../apps/web-app/src/app/proofs/page.tsx | 5 ----- .../apps/web-app/src/app/proofs/page.tsx | 5 ----- 2 files changed, 10 deletions(-) diff --git a/packages/cli-template-monorepo-ethers/apps/web-app/src/app/proofs/page.tsx b/packages/cli-template-monorepo-ethers/apps/web-app/src/app/proofs/page.tsx index 52a0bfcc9..de060019a 100644 --- a/packages/cli-template-monorepo-ethers/apps/web-app/src/app/proofs/page.tsx +++ b/packages/cli-template-monorepo-ethers/apps/web-app/src/app/proofs/page.tsx @@ -41,11 +41,6 @@ export default function ProofsPage() { throw new Error("Please, define NEXT_PUBLIC_GROUP_ID in your .env file") } - if (_users && _users.length < 2) { - alert("No anonymity in a group of one!") - return - } - const feedback = prompt("Please enter your feedback:") if (feedback && _users) { diff --git a/packages/cli-template-monorepo-subgraph/apps/web-app/src/app/proofs/page.tsx b/packages/cli-template-monorepo-subgraph/apps/web-app/src/app/proofs/page.tsx index 52a0bfcc9..de060019a 100644 --- a/packages/cli-template-monorepo-subgraph/apps/web-app/src/app/proofs/page.tsx +++ b/packages/cli-template-monorepo-subgraph/apps/web-app/src/app/proofs/page.tsx @@ -41,11 +41,6 @@ export default function ProofsPage() { throw new Error("Please, define NEXT_PUBLIC_GROUP_ID in your .env file") } - if (_users && _users.length < 2) { - alert("No anonymity in a group of one!") - return - } - const feedback = prompt("Please enter your feedback:") if (feedback && _users) {