Skip to content

Commit

Permalink
Merge branch 'nested-list-issue' of github.com:sara-fs/deriv-app into…
Browse files Browse the repository at this point in the history
… nested-list-issue
  • Loading branch information
sara-fs committed Apr 23, 2022
2 parents 74ac9de + bb92cd1 commit 1525829
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/generate_app_id.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
steps:
- name: Capture Vercel preview URL
id: vercel_preview_url
uses: binary-com/vercel-preview-url-action@v1.0.1
uses: binary-com/vercel-preview-url-action@v1.0.5
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Generate Deriv App ID for deployment Preview URL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ const ResetTradingPasswordModal = ({
const [dialog_title, setDialogTitle] = React.useState('');
const history = useHistory();
React.useEffect(() => {
if (is_visible) {
if (is_visible && history.location.search !== '') {
history.replace({
search: '',
hash: location.hash,
Expand Down
4 changes: 3 additions & 1 deletion packages/cfd/src/Containers/cfd-reset-password-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ const CFDResetPasswordModal = ({
localStorage.removeItem('cfd_reset_password_intent');
localStorage.removeItem('cfd_reset_password_type');
localStorage.removeItem('cfd_reset_password_code');
history.push(`${routes.mt5}`);
if (history.location.pathname !== routes.mt5) {
history.push(`${routes.mt5}`);
}
};
const validatePassword = (values: { new_password: string }) => {
const errors: { new_password?: string } = {};
Expand Down
2 changes: 1 addition & 1 deletion packages/cfd/src/sass/cfd.scss
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@
margin-top: 2.4rem;
}
&__success {
width: 38.4rem;
min-width: 38.4rem;
height: 28.4rem;
display: flex;
flex-direction: column;
Expand Down

0 comments on commit 1525829

Please sign in to comment.