diff --git a/src/components/Creator/CreatorDisplay.tsx b/src/components/Creator/CreatorDisplay.tsx
index 081089c1..4bb88c4e 100644
--- a/src/components/Creator/CreatorDisplay.tsx
+++ b/src/components/Creator/CreatorDisplay.tsx
@@ -21,6 +21,34 @@ import { Collection } from '../../reducer/slices/collections';
import { MinterButton } from '../common';
import lk from '../common/assets/link-icon.svg'
+interface CreatorDisplay404Props {
+ ownedOnly: boolean;
+}
+
+function CreatorDisplay404(props: CreatorDisplay404Props) {
+ return (
+
+
+
+
+ {props.ownedOnly ? 'No owned tokens to display' : 'No tokens to display'}
+
+
+
+ );
+}
+
interface CreatorDisplayProps {
minter: string;
collections: { [key: string]: Collection };
@@ -45,12 +73,16 @@ export default function CreatorDisplay({
}, [dispatch, selectedCollection]);
if (!selectedCollection) {
- return <>>;
+ return (
+
+ );
}
const collection = collections[selectedCollection];
if (!collection) {
- return <>>;
+ return (
+
+ );
}
if (!collection.loaded) {
@@ -65,32 +97,16 @@ export default function CreatorDisplay({
}
if (collection.tokens === null) {
- return <>>;
+ return (
+
+ );
}
const tokens = collection.tokens;
if (tokens.length === 0) {
return (
-
-
-
-
- {ownedOnly ? 'No owned tokens to display' : 'No tokens to display'}
-
-
-
+
);
}
diff --git a/src/components/Creator/index.tsx b/src/components/Creator/index.tsx
index 2b14881b..368e1c87 100644
--- a/src/components/Creator/index.tsx
+++ b/src/components/Creator/index.tsx
@@ -45,6 +45,7 @@ export default function Creator({ minter }: { minter: string }) {
creatorsCollections[addr] = collections.collections[addr];
return null;
});
+
return (