Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | 34x 44x | import ErrorCatcher from "@common/Error/ErrorCatcher";
import NiceModal from "@ebay/nice-modal-react";
import { IUseBusinessProfileModal, FormType } from "../types";
import GiveEditBusinessProfileModal from "../../MerchantPreview/modals/GiveEditBusinessProfileModal";
export type SectionType = "business_profile" | "business_address";
type CreateBusinessProfileModalProps = IUseBusinessProfileModal & {
section?: SectionType;
};
const CreateBusinessProfileModal = NiceModal.create(
(props: CreateBusinessProfileModalProps) => {
return (
<ErrorCatcher errorID="business-profile-modal">
<GiveEditBusinessProfileModal {...props} />
</ErrorCatcher>
);
},
);
export default CreateBusinessProfileModal;
export { FormType };
|