diff --git a/src/Layout/Dashboard/LayoutModel.tsx b/src/Layout/Dashboard/LayoutModel.tsx
index 597ea72..a7bdbfe 100644
--- a/src/Layout/Dashboard/LayoutModel.tsx
+++ b/src/Layout/Dashboard/LayoutModel.tsx
@@ -21,6 +21,8 @@ interface LayoutModalProps {
ModelClassName?: string;
width?: string;
isLoading?: boolean;
+ buttonTitle?:string;
+ initialButtonName?:boolean
}
const LayoutModel = ({
@@ -35,6 +37,8 @@ const LayoutModel = ({
ModelClassName,
width = "800px",
isLoading = false,
+ buttonTitle,
+ initialButtonName = true,
}: LayoutModalProps) => {
const { isOpen, setIsOpen } = useModalState((state) => state);
const { setObjectToEdit } = useObjectToEdit();
@@ -67,7 +71,7 @@ const LayoutModel = ({
onCancel={handleCancel}
>
-
{t(`${description}`)}
diff --git a/src/Pages/ReSeller/Collections/Model/CollectionInfoCard.tsx b/src/Pages/ReSeller/Collections/Model/CollectionInfoCard.tsx index 8a84457..1a7d7cf 100644 --- a/src/Pages/ReSeller/Collections/Model/CollectionInfoCard.tsx +++ b/src/Pages/ReSeller/Collections/Model/CollectionInfoCard.tsx @@ -5,7 +5,7 @@ const CollectionInfoCard = ({label,value}:{label:string,value:string}) => { const {t} = useTranslation(); return ({t(value)}