Skip to content

Commit

Permalink
fix: make build work
Browse files Browse the repository at this point in the history
  • Loading branch information
mwmerz committed Dec 11, 2023
1 parent e15d157 commit 0a848ab
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions frontend/src/pages/nft/NFTs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@ import { useState } from "react"
import classNames from "classnames/bind"
import NFTItem from "components/nft/NFTItem"
import { NFT_PREVIEW_URL } from "config"
import { FilterDropdowns } from "components/filters/dropdowns"
import { ReactComponent as FilterIcon } from "assets/Filter.svg"
import { mockNFTs, signedInUserData } from "fakeData/mockNFTs"
import styles from "./NFTs.module.scss"
import { SearchByID } from "components/filters/search/SearchByID"
import {
useAllMintedNFTsFromCollection,
useUserNFTsFromCollection,
Expand All @@ -33,12 +30,13 @@ export const NFTsPage = () => {
const { data: userNfts } = useUserNFTsFromCollection(walletAddress)

const [activeTab, setActiveTab] = useState("all")
const [galleryFilters, setGalleryFilters] = useState<GalleryFiltersProps>({
planetNumber: null,
planetNames: [],
planetInhabitants: [],
nftObjects: [],
})

// const [galleryFilters, setGalleryFilters] = useState<GalleryFiltersProps>({
// planetNumber: null,
// planetNames: [],
// planetInhabitants: [],
// nftObjects: [],
// })

// useEffect(() => {
// if (
Expand Down Expand Up @@ -126,7 +124,7 @@ export const NFTsPage = () => {
)}
</div>

{activeTab === "all" && showFilterRow && (
{/* {activeTab === "all" && showFilterRow && (
<>
<SearchByID
setSearchValue={setSearchValue}
Expand All @@ -138,7 +136,7 @@ export const NFTsPage = () => {
setGalleryFilters={setGalleryFilters}
/>
</>
)}
)} */}

{activeTab === "all" ? (
!areNftsLoading &&
Expand Down

0 comments on commit 0a848ab

Please sign in to comment.