Skip to content

Commit

Permalink
refactor: support groups with tree depth 0 in cli templates (#832)
Browse files Browse the repository at this point in the history
refactor: support groups with tree depth 0
  • Loading branch information
vplasencia authored Jul 19, 2024
1 parent 698cef0 commit b5f8ee7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b5f8ee7

Please sign in to comment.