Skip to content

Commit

Permalink
fix: width alignemnt in form
Browse files Browse the repository at this point in the history
  • Loading branch information
amina-deriv committed Feb 16, 2023
1 parent 2537272 commit 70f970a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/account/src/Styles/account.scss
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ $MIN_HEIGHT_FLOATING: calc(

.cfd-personal-details-modal__form & {
margin: unset;
max-width: unset;
}

&--2-cols {
Expand Down
2 changes: 1 addition & 1 deletion packages/cfd/src/Containers/cfd-dbvi-onboarding.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const CFDDbviOnboarding = ({
updateAccountStatus,
updateMT5Status,
}: TCFDDbviOnboardingProps) => {
const [showSubmittedModal, setShowSubmittedModal] = React.useState(false);
const [showSubmittedModal, setShowSubmittedModal] = React.useState(true);
const [is_loading, setIsLoading] = React.useState(false);

const getAccountStatusFromAPI = () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ const JurisdictionModal = ({
React.useEffect(() => {
if (is_jurisdiction_modal_visible && !is_virtual) {
updateMT5Status();
setJurisdictionSelectedShortcode('');
fetchAccountSettings();
}
setJurisdictionSelectedShortcode('');
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [is_jurisdiction_modal_visible]);

Expand Down

0 comments on commit 70f970a

Please sign in to comment.