Skip to content

Commit 32a67f7

Browse files
committed
feat: remove faucet redirect
1 parent 8ab532a commit 32a67f7

File tree

2 files changed

+2
-29
lines changed

2 files changed

+2
-29
lines changed

components/report-details/support/form.tsx

+1-28
Original file line numberDiff line numberDiff line change
@@ -306,41 +306,14 @@ const SupportReportForm = ({ hypercertId }: SupportReportFormProps) => {
306306
</FormItem>
307307
)}
308308
/> */}
309-
<Alert className="bg-stone-50">
310-
{/* <AlertTitle className="font-semibold">Please note</AlertTitle> */}
311-
<AlertDescription>
312-
You will need ETH on the Sepolia testnet. You can get some from
313-
the link below.
314-
</AlertDescription>
315-
<AlertDescription className="flex gap-2 items-center py-1">
316-
<a
317-
href="https://www.alchemy.com/faucets/ethereum-sepolia"
318-
target="_blank"
319-
rel="noopener noreferrer"
320-
className={cn(
321-
buttonVariants({ variant: "link" }),
322-
"flex justify-between items-center group p-0",
323-
)}
324-
aria-label="Open Sepolia Faucet in a new tab"
325-
>
326-
Sepolia Faucet
327-
<span className="sr-only">(opens in a new tab)</span>
328-
<ArrowUpRight
329-
size={16}
330-
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"
331-
aria-hidden="true"
332-
/>
333-
</a>
334-
</AlertDescription>
335-
<div className="p-2" />
336309
<Button
337310
className="w-full py-6 flex gap-2 rounded-md"
338311
type="submit"
339312
>
340313
<Wallet2 />
341314
Send from wallet
342315
</Button>
343-
</Alert>
316+
344317
</form>
345318
</Form>
346319
)}

lib/impact-reports.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ export const getHypercertClaims = async (ownerAddress: string) => {
192192
`[Hypercerts] Failed to fetch claims owned by ${ownerAddress}`,
193193
);
194194
}
195-
console.log("Query Results:", hypercertsRes);
195+
// console.log("Query Results:", hypercertsRes);
196196
claims = hypercertsRes?.data;
197197
// console.log(`[Hypercerts] Fetched claims: ${claims ? claims.length : 0}`);
198198
} catch (error) {

0 commit comments

Comments
 (0)