Skip to content

Commit

Permalink
Merge pull request holaplex#15 from holaplex/anshul/collectables-to-c…
Browse files Browse the repository at this point in the history
…ollectibles

Convert collectables to collectibles
  • Loading branch information
kespinola authored Jun 22, 2023
2 parents 3f6e363 + c72d729 commit 29bc68e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/app/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export default function Home({ session }: HomeProps) {
NFT claimed!
</span>
<Link
href='/collectables'
href='/collectibles'
className='font-semibold text-white underline cursor-pointer'
>
View in your wallet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interface GetCollectionsData {
collections: [CollectionMint];
}

export default function Collectables() {
export default function Collectibles() {
const me = useMe();
const collectionsQuery = useQuery<GetCollectionsData>(GetCollections);
return (
Expand Down Expand Up @@ -44,7 +44,7 @@ export default function Collectables() {
</div>

<div className='flex flex-col gap-10 items-center md:items-start'>
<span className='text-2xl font-semibold'>Your collectables</span>
<span className='text-2xl font-semibold'>Your collectibles</span>
<div className='flex flex-wrap gap-6 justify-start mt-4 mb-10'>
{collectionsQuery.loading ? (
<>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
'use client';
import { redirect } from 'next/navigation';
import Collectables from './Collectables';
import Collectibles from './Collectibles';
import useMe from '../../hooks/useMe';

export default async function CollectablesPage() {
export default async function CollectiblesPage() {
const me = useMe();
if (!me) {
redirect('/');
}

return <Collectables />;
return <Collectibles />;
}

0 comments on commit 29bc68e

Please sign in to comment.