diff --git a/src/components/EcosystemInvite/EcoInvitationList.tsx b/src/components/EcosystemInvite/EcoInvitationList.tsx index 3b982b6dc..fbd2ddd54 100644 --- a/src/components/EcosystemInvite/EcoInvitationList.tsx +++ b/src/components/EcosystemInvite/EcoInvitationList.tsx @@ -1,18 +1,14 @@ - -import React from 'react'; - -interface InvitationProps{ - invitationId:string; - invitationEmail:string - ecosytem:[] +interface InvitationProps { + invitationId: string; + ecosytem: []; } -const EcoInvitationList = (props: InvitationProps ) => { +const EcoInvitationList = (props: InvitationProps) => { + const { invitationId, ecosytem } = props; + + const { name } = ecosytem; - const {invitationId, invitationEmail,ecosytem} = props - return ( - <>
{

- {invitationEmail} + {name}

@@ -74,7 +70,6 @@ const EcoInvitationList = (props: InvitationProps ) => {
- ); }; diff --git a/src/components/EcosystemInvite/EcoSystemReceivedInvitations.tsx b/src/components/EcosystemInvite/EcoSystemReceivedInvitations.tsx index 1a2e0d986..510a56bde 100644 --- a/src/components/EcosystemInvite/EcoSystemReceivedInvitations.tsx +++ b/src/components/EcosystemInvite/EcoSystemReceivedInvitations.tsx @@ -1,4 +1,4 @@ -import { Button, Pagination } from 'flowbite-react'; +import { Button, Card, Pagination } from 'flowbite-react'; import { useEffect, useState } from 'react'; import { acceptRejectEcosystemInvitations, @@ -229,12 +229,12 @@ stroke-linejoin="round" ) : invitationsData && invitationsData?.length > 0 ? ( -
+
-
    +
      {invitationsData.map((invitation) => ( -
    • -
      + +
      -
    • + ))}