Skip to content

Commit

Permalink
Merge pull request #1144 from ArielCalisaya/development
Browse files Browse the repository at this point in the history
update bug with email modal
  • Loading branch information
ArielCalisaya authored Oct 10, 2023
2 parents d385766 + cd06b47 commit 8c15db4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion public/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
"bootcamp": {
"planType": "bootcamp",
"type": "Bootcamp",
"period_label": "One time",
"period_label": "",
"title": "Bootcamp Program",
"description": "From nothing to a career in tech in just a few months, no previous experience required.",
"button": "Request More Info",
Expand Down
2 changes: 1 addition & 1 deletion public/locales/es/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
"bootcamp": {
"planType": "bootcamp",
"type": "Bootcamp",
"period_label": "Un solo pago",
"period_label": "",
"title": "Programa de Bootcamp",
"description": "De nada a una carrera en tecnología en solo unos meses, no se requiere experiencia previa.",
"button": "Solicitar más información",
Expand Down
4 changes: 2 additions & 2 deletions src/js_modules/moduleMap/modalInfo.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function ModalInfo({
handlerColorButton, rejectData, sendProject, currentTask, type, closeButtonVariant,
htmlDescription, markdownDescription, attachment, disableInput, descriptionStyle, footerStyle,
closeButtonStyles, buttonHandlerStyles, headerStyles, disableCloseButton, childrenDescription,
maxWidth, forceHandlerAndClose,
maxWidth, forceHandlerAndClose, ...rest
}) {
const { t } = useTranslation('dashboard');
const [githubUrl, setGithubUrl] = useState(link);
Expand Down Expand Up @@ -56,7 +56,7 @@ function ModalInfo({

return (
<>
<Modal closeOnOverlayClick={!forceHandler} isOpen={isOpen} onClose={onClose}>
<Modal blockScrollOnMount={false} closeOnOverlayClick={!forceHandler} isOpen={isOpen} onClose={onClose} {...rest}>
<ModalOverlay />
{/* md */}
<ModalContent maxWidth={maxWidth || 'md'} borderRadius="6px" style={{ marginTop: '10vh' }}>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/checkout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ function Checkout() {
/>
</Box>
)}
isOpen={verifyEmailProps.state}
isOpen={(isPricingModalOpen && verifyEmailProps.state) || (queryPlanExists && verifyEmailProps.state)}
buttonHandlerStyles={{ variant: 'default' }}
actionHandler={() => {
const inviteId = verifyEmailProps?.data?.id;
Expand Down

0 comments on commit 8c15db4

Please sign in to comment.