Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/src/app/marketplace/gas/collection/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const metadata: Metadata = {
export default async function GasCollectionPage() {
return (
<Inset pageTitle={metadata.title as string}>
<div className="flex h-full items-center flex-col p-8">
<div className="flex h-full items-center flex-col p-8 relative">
<Content />
</div>
</Inset>
Expand Down
6 changes: 5 additions & 1 deletion app/src/components/NftCards/NftCards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export function NftCards({ id }: { id: string }) {
))}
</div>

{nft.length > 0 && (
{nft.length > 0 ? (
<div className="mt-6">
<Pagination
page={page}
Expand All @@ -103,6 +103,10 @@ export function NftCards({ id }: { id: string }) {
loading={pageLoading}
/>
</div>
) : (
<div className="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 flex">
<p>No Gas found for the selected collection.</p>
</div>
)}
</div>
);
Expand Down