diff --git a/src/components/Faucet/Faucet.tsx b/src/components/Faucet/Faucet.tsx
index 2c7b1ec..fc053c5 100644
--- a/src/components/Faucet/Faucet.tsx
+++ b/src/components/Faucet/Faucet.tsx
@@ -1,49 +1,65 @@
-import axios from 'axios';
-import { TextInput, Text, Paper, Button, Divider, Anchor, Stack, Alert } from '@mantine/core';
-import { useForm } from '@mantine/form';
-import { notifications } from '@mantine/notifications';
-import { IconAlertCircle, IconExternalLink, IconCheck, IconX } from '@tabler/icons-react';
+import axios from "axios";
+import {
+ TextInput,
+ Text,
+ Paper,
+ Button,
+ Divider,
+ Anchor,
+ Stack,
+ Alert,
+} from "@mantine/core";
+import { useForm } from "@mantine/form";
+import { notifications } from "@mantine/notifications";
+import {
+ IconAlertCircle,
+ IconExternalLink,
+ IconCheck,
+ IconX,
+} from "@tabler/icons-react";
-import { useConnection } from '@/contexts/TezosContext/TezosContext';
-import { WalletButton } from '@/components/WalletButton/WalletButton';
-import { TezosIcon } from '@/icons/TezosIcon/TezosIcon';
+import { useConnection } from "@/contexts/TezosContext/TezosContext";
+import { WalletButton } from "@/components/WalletButton/WalletButton";
+import { TezosIcon } from "@/icons/TezosIcon/TezosIcon";
export function Faucet() {
const { address, connect } = useConnection();
const form = useForm({
initialValues: {
- address: '',
+ address: "",
},
});
const getTokens = async (targetAddress: string) => {
try {
notifications.show({
- id: 'faucet',
- title: 'Sending...',
- message: 'Your tokens are on the way! 🚀',
+ id: "faucet",
+ title: "Sending...",
+ message: "Your tokens are on the way! 🚀",
loading: true,
autoClose: false,
});
await axios.get(
- `https://faucet-bot.marigold.dev/network/ghostnet/getmoney/CTEZ/${targetAddress}`
+ `https://faucet-bot.marigold.dev/network/ghostnet/getmoney/CTEZ/${targetAddress}`,
);
notifications.update({
- id: 'faucet',
- title: 'Success!',
- message: 'Check your wallet !',
+ id: "faucet",
+ title: "Success!",
+ message: "Check your wallet !",
icon: