Skip to content

Commit

Permalink
feat: remove faucet redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
baumstern committed Oct 18, 2024
1 parent 8ab532a commit 32a67f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 29 deletions.
29 changes: 1 addition & 28 deletions components/report-details/support/form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -306,41 +306,14 @@ const SupportReportForm = ({ hypercertId }: SupportReportFormProps) => {
</FormItem>
)}
/> */}
<Alert className="bg-stone-50">
{/* <AlertTitle className="font-semibold">Please note</AlertTitle> */}
<AlertDescription>
You will need ETH on the Sepolia testnet. You can get some from
the link below.
</AlertDescription>
<AlertDescription className="flex gap-2 items-center py-1">
<a
href="https://www.alchemy.com/faucets/ethereum-sepolia"
target="_blank"
rel="noopener noreferrer"
className={cn(
buttonVariants({ variant: "link" }),
"flex justify-between items-center group p-0",
)}
aria-label="Open Sepolia Faucet in a new tab"
>
Sepolia Faucet
<span className="sr-only">(opens in a new tab)</span>
<ArrowUpRight
size={16}
className="ml-1 opacity-70 group-hover:translate-x-0.5 group-hover:opacity-100 group-hover:-translate-y-0.5 transition-transform duration-300 ease-in-out"
aria-hidden="true"
/>
</a>
</AlertDescription>
<div className="p-2" />
<Button
className="w-full py-6 flex gap-2 rounded-md"
type="submit"
>
<Wallet2 />
Send from wallet
</Button>
</Alert>

</form>
</Form>
)}
Expand Down
2 changes: 1 addition & 1 deletion lib/impact-reports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export const getHypercertClaims = async (ownerAddress: string) => {
`[Hypercerts] Failed to fetch claims owned by ${ownerAddress}`,
);
}
console.log("Query Results:", hypercertsRes);
// console.log("Query Results:", hypercertsRes);
claims = hypercertsRes?.data;
// console.log(`[Hypercerts] Fetched claims: ${claims ? claims.length : 0}`);
} catch (error) {
Expand Down

0 comments on commit 32a67f7

Please sign in to comment.