Skip to content

Commit

Permalink
use shadcn button
Browse files Browse the repository at this point in the history
  • Loading branch information
Nazeeh21 committed Nov 22, 2024
1 parent 37b8d2c commit 0aa067c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion airdrop/src/routes/airdrop/index.lazy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { Grid } from "@mui/material";
import { useNavigate } from "@tanstack/react-router";
import { useEffect } from "react";
import useAsync from "react-use/lib/useAsync";
import { Button } from "../../components/Button";
import { Button } from "../../components/ui/button";
import { HomeCard } from "../../components/HomeCard";
import { useGetAirdropData } from "../../hooks/useGetAirdropData";

Expand Down
5 changes: 3 additions & 2 deletions airdrop/src/routes/index.lazy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ import { FuelLogo } from "../components/FuelLogo";
import { useGetAirdropData } from "@/hooks/useGetAirdropData";
import { useEffect } from "react";
import useAsync from "react-use/lib/useAsync";
import { Button } from "../components/Button";

import { useActiveWallet } from "../hooks/useActiveWallet";
import { Text } from "@/components/Text";
import { Grid } from "@mui/material";
import { HomeCard } from "@/components/HomeCard";
import { VITE_BASE_URL } from "../lib";
import { getTruncatedAddress } from "../components/WalletDisplay";
import { checkEligibility } from "@/utils/airdropEligibility";
import { Button } from "@/components/ui/button";

export const Route = createLazyFileRoute("/")({
component: Index,
Expand Down Expand Up @@ -72,7 +73,7 @@ function Index() {
})
}
>
Create your own Airdrop
Create new Airdrop
</Button>
<Text variant="h6" sx={{ paddingBottom: "28px", width: "full" }}>
Below are the open Airdrops
Expand Down

0 comments on commit 0aa067c

Please sign in to comment.