Update CommunityPage with CollectionCardComponent
This commit is contained in:
parent
f7903043fe
commit
ebb6e5ffec
1 changed files with 2 additions and 4 deletions
|
|
@ -4,7 +4,7 @@ import { alertContext } from "../../contexts/alertContext";
|
|||
import { FlowsContext } from "../../contexts/flowsContext";
|
||||
|
||||
import { useNavigate } from "react-router-dom";
|
||||
import { CardComponent } from "../../components/cardComponent";
|
||||
import CollectionCardComponent from "../../components/cardComponent";
|
||||
import IconComponent from "../../components/genericIconComponent";
|
||||
import Header from "../../components/headerComponent";
|
||||
import { SkeletonCardComponent } from "../../components/skeletonCardComponent";
|
||||
|
|
@ -84,11 +84,9 @@ export default function CommunityPage(): JSX.Element {
|
|||
</>
|
||||
) : (
|
||||
examples.map((flow, idx) => (
|
||||
<CardComponent
|
||||
<CollectionCardComponent
|
||||
key={idx}
|
||||
isFlow
|
||||
data={flow}
|
||||
id={flow.id}
|
||||
button={
|
||||
<Button
|
||||
variant="outline"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue