Skip to content

Commit

Permalink
move hooks to shared folder (#72)
Browse files Browse the repository at this point in the history
* move hooks to shared folder

* Moved defaultNFT.ts

---------

Co-authored-by: Francis Rodriguez <[email protected]>
  • Loading branch information
rodrigoncalves and Freshenext authored Jul 22, 2024
1 parent 39c4b3c commit ac27533
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions src/app/communities/CommunityItem.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import Image from 'next/image'
import { firstNft } from '@/app/communities/communityUtils'
import { Button } from '@/components/Button'
import { Paragraph, Span } from '@/components/Typography'
import Image from 'next/image'
import { BsArrowUpRight } from 'react-icons/bs'
import { Button } from '@/components/Button'
import { VscChevronUp } from 'react-icons/vsc'

interface CommunityItemProps {
Expand Down
8 changes: 4 additions & 4 deletions src/pages/communities/nft/[address].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import { BsTwitterX } from 'react-icons/bs'
import { FaDiscord, FaLink } from 'react-icons/fa'
import { Address } from 'viem'
import { useAccount } from 'wagmi'
import { useCidsAvailable } from './hooks/useCidsAvailable'
import { useMintNFT } from './hooks/useMintNFT'
import { useNFTImage } from './hooks/useNFTImage'
import { DEFAULT_NFT_BASE64 } from './images/defaultNFT'
import { useCidsAvailable } from '@/shared/hooks/useCidsAvailable'
import { useMintNFT } from '@/shared/hooks/useMintNFT'
import { useNFTImage } from '@/shared/hooks/useNFTImage'
import { DEFAULT_NFT_BASE64 } from '@/shared/defaultNFT'

export default function Page() {
const {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ac27533

Please sign in to comment.