From 1afbb068485a91bb2d1189197abbfe0ab2765294 Mon Sep 17 00:00:00 2001 From: karan Date: Tue, 10 Oct 2023 20:57:02 +0530 Subject: [PATCH 1/3] fix: ecosystem name Signed-off-by: karan --- .../EcosystemInvite/EcoInvitationList.tsx | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/src/components/EcosystemInvite/EcoInvitationList.tsx b/src/components/EcosystemInvite/EcoInvitationList.tsx index 3b982b6dc..ec8cc70fa 100644 --- a/src/components/EcosystemInvite/EcoInvitationList.tsx +++ b/src/components/EcosystemInvite/EcoInvitationList.tsx @@ -1,16 +1,14 @@ - -import React from 'react'; - -interface InvitationProps{ - invitationId:string; - invitationEmail:string - ecosytem:[] +interface InvitationProps { + invitationId: string; + invitationEmail: string; + ecosytem: []; } -const EcoInvitationList = (props: InvitationProps ) => { +const EcoInvitationList = (props: InvitationProps) => { + const { invitationId, ecosytem } = props; + + const { name } = ecosytem; - const {invitationId, invitationEmail,ecosytem} = props - return ( <>
@@ -52,7 +50,7 @@ const EcoInvitationList = (props: InvitationProps ) => {

- {invitationEmail} + {name}

From d17ecab1d746a15e650463212297cf2b2f0aeae2 Mon Sep 17 00:00:00 2001 From: karan Date: Tue, 10 Oct 2023 21:17:25 +0530 Subject: [PATCH 2/3] fix: ecosystem received invitation alignment Signed-off-by: karan --- .../EcosystemInvite/EcoSystemReceivedInvitations.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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) => ( -
    • -
      + +
      -
    • + ))}
From e671475abbee18c71cdae57e16242cd8e58b068f Mon Sep 17 00:00:00 2001 From: karan Date: Tue, 10 Oct 2023 22:01:51 +0530 Subject: [PATCH 3/3] fix: sonarlint issues Signed-off-by: karan --- src/components/EcosystemInvite/EcoInvitationList.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/components/EcosystemInvite/EcoInvitationList.tsx b/src/components/EcosystemInvite/EcoInvitationList.tsx index ec8cc70fa..fbd2ddd54 100644 --- a/src/components/EcosystemInvite/EcoInvitationList.tsx +++ b/src/components/EcosystemInvite/EcoInvitationList.tsx @@ -1,6 +1,5 @@ interface InvitationProps { invitationId: string; - invitationEmail: string; ecosytem: []; } @@ -10,7 +9,6 @@ const EcoInvitationList = (props: InvitationProps) => { const { name } = ecosytem; return ( - <>
{
- ); };