mirror of
https://github.com/ChanX21/Sigillum
synced 2026-04-21 15:47:55 +00:00
Cleanup
This commit is contained in:
parent
5d96c950c5
commit
56b8a2dbc0
5 changed files with 5 additions and 10 deletions
|
|
@ -13,7 +13,6 @@ import { NFTDetailView } from "@/components/nft/NFTDetailView";
|
|||
import { UserAvatar } from "@/components/shared/UserAvatar";
|
||||
import { shortenAddress } from "@/utils/shortenAddress";
|
||||
import { useAuth } from "@/hooks/useAuth";
|
||||
import { Loading } from "@/components/shared/Loading";
|
||||
|
||||
export default function Detail() {
|
||||
const id = useParams().id as string;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ import {
|
|||
import { Input } from "@/components/ui/input";
|
||||
import { Label } from "@/components/ui/label";
|
||||
import { useWallet } from '@suiet/wallet-kit';
|
||||
import React, { useState } from 'react';
|
||||
import { useState } from 'react';
|
||||
|
||||
import { useUpdateNftDets } from '@/hooks/useUpdateNftDets';
|
||||
import { MARKETPLACE_ID, MODULE_NAME, PACKAGE_ID } from '@/lib/suiConfig';
|
||||
|
|
@ -21,7 +21,7 @@ import { listNft } from '@/utils/blockchainServices';
|
|||
import { useQueryClient } from '@tanstack/react-query';
|
||||
import { toast } from 'sonner';
|
||||
import { AnimatePresence, motion } from 'framer-motion';
|
||||
import { Coins, DollarSign, List, RefreshCcw, Rocket } from 'lucide-react';
|
||||
import { Rocket } from 'lucide-react';
|
||||
|
||||
const ListNFTButton = ({ listingId, tokenId, nftId }: { listingId: string, tokenId: string, nftId: string }) => {
|
||||
const [listPrice, setlistPrice] = useState<string>('')
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import { MediaRecord, NFTMetadata } from "@/types";
|
|||
import { fetchMetadata } from "@/utils/web2";
|
||||
|
||||
import Link from "next/link";
|
||||
import React, { useEffect, useState } from "react";
|
||||
import { useEffect, useState } from "react";
|
||||
import { UserAvatar } from "../shared/UserAvatar";
|
||||
import { shortenAddress } from "@/utils/shortenAddress";
|
||||
import OptimizedImage from "../shared/OptimizedImage";
|
||||
|
|
|
|||
|
|
@ -1,9 +1,6 @@
|
|||
"use client";
|
||||
|
||||
import { useState, useEffect } from "react";
|
||||
import { Clock } from "lucide-react";
|
||||
import Image from "next/image";
|
||||
import { Button } from "../ui/button";
|
||||
import { MediaRecord } from "@/types";
|
||||
import { NFTMetadata } from "@/types";
|
||||
import {
|
||||
|
|
@ -19,7 +16,6 @@ import { ContractForm } from "../shared/ContractForm";
|
|||
import OptimizedImage from "../shared/OptimizedImage";
|
||||
import { ListingDataResponse } from "@/types";
|
||||
import { useWallet } from "@suiet/wallet-kit";
|
||||
import { getFullnodeUrl, SuiClient } from "@mysten/sui/client";
|
||||
import { getObjectDetails } from "@/utils/blockchainServices";
|
||||
import { PACKAGE_ID, MODULE_NAME, MARKETPLACE_ID } from "@/lib/suiConfig";
|
||||
import { SiSui } from "react-icons/si";
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
import { useEffect, useRef, useState } from "react";
|
||||
import { IoCloseSharp, IoSearchSharp } from "react-icons/io5";
|
||||
import { Shield, User } from "lucide-react";
|
||||
import { User } from "lucide-react";
|
||||
import Link from "next/link";
|
||||
import { AnimatePresence, motion } from 'framer-motion'
|
||||
import { AnimatePresence, motion } from 'framer-motion';
|
||||
import { Input } from "../ui/input";
|
||||
import { Button } from "../ui/button";
|
||||
import { useAccountBalance, useWallet } from "@suiet/wallet-kit";
|
||||
|
|
|
|||
Loading…
Reference in a new issue