Spaces:
Runtime error
Runtime error
animation loading\error card
Browse files
components/main/collections/index.tsx
CHANGED
@@ -34,7 +34,7 @@ export const Collections: React.FC<{ category: string }> = ({ category }) => {
|
|
34 |
{images?.map((collection: Image, i: number) =>
|
35 |
collection?.loading ? (
|
36 |
<CollectionLoading
|
37 |
-
key={"loading" +
|
38 |
prompt={collection.prompt}
|
39 |
error={collection.error}
|
40 |
className={classNames("", {
|
|
|
34 |
{images?.map((collection: Image, i: number) =>
|
35 |
collection?.loading ? (
|
36 |
<CollectionLoading
|
37 |
+
key={"loading" + collection.id}
|
38 |
prompt={collection.prompt}
|
39 |
error={collection.error}
|
40 |
className={classNames("", {
|