Skip to content

Commit

Permalink
feat(dashboard): add create easAttestation credential group to dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
waddaboo committed Oct 10, 2024
1 parent 53bb68b commit 7085596
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions apps/dashboard/src/pages/credentials.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import {
blockchain,
Web2Provider,
twitter,
github
github,
eas
} from "@bandada/credentials"
import { Flex, Text, Button } from "@chakra-ui/react"
import { useEffect, useState, useCallback, useContext } from "react"
Expand Down Expand Up @@ -175,9 +176,10 @@ export default function CredentialsPage() {
clientRedirectUri
)

// If the credential is blockchain
// If the credential is blockchain or eas attestations
if (
providerName === blockchain.name &&
(providerName === blockchain.name ||
providerName === eas.name) &&
isLoggedInAdmin() &&
state
) {
Expand Down

0 comments on commit 7085596

Please sign in to comment.