diff --git a/ui/src/components/Common/Card/card.tsx b/ui/src/components/Common/Card/card.tsx index a7c9b06a9..eb9f379ae 100644 --- a/ui/src/components/Common/Card/card.tsx +++ b/ui/src/components/Common/Card/card.tsx @@ -106,7 +106,7 @@ const Card = ({ }} > {isHovered || selectedCard?.[idField] === data?.[idField] ? ( - + ) : ( <> )} diff --git a/ui/src/components/Common/SaveChangesModal/index.tsx b/ui/src/components/Common/SaveChangesModal/index.tsx index 61a0cfe8f..ec85710ab 100644 --- a/ui/src/components/Common/SaveChangesModal/index.tsx +++ b/ui/src/components/Common/SaveChangesModal/index.tsx @@ -11,9 +11,9 @@ interface Props { closeModal: () => void; isopen?: (flag: boolean) => void; otherCmsTitle?: string; - saveContentType?: () => void | Promise; + saveContentType?: () => void; openContentType?: () => void; - changeStep?: () => void | Promise; + changeStep?: () => void; dropdownStateChange: () => void; } @@ -47,24 +47,24 @@ const SaveChangesModal = (props: Props) => {