Skip to content

Commit

Permalink
Merge pull request scandipwa#5231 from AleksandrsKondratjevs/ts-issue…
Browse files Browse the repository at this point in the history
…-some-prerelase-fixes

TypeScript-issue - Fixed some issue before release
  • Loading branch information
AleksandrsKondratjevs authored Oct 17, 2022
2 parents bffc36a + 402f392 commit b361a5d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ export const myAccountAddressForm = (
attr: {
id: 'address-country-id',
name: 'country_id',
defaultValue: countryId,
value: countryId,
selectPlaceholder: __('Select country...'),
},
events: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { PureComponent } from 'react';
import { connect } from 'react-redux';
import { Dispatch } from 'redux';

import { MyAccountPageState } from 'Component/MyAccountOverlay/MyAccountOverlay.config';
import { SignInOptions } from 'Query/MyAccount.type';
import { CheckoutStepUrl } from 'Route/Checkout/Checkout.config';
import { showNotification } from 'Store/Notification/Notification.action';
Expand Down Expand Up @@ -84,7 +83,7 @@ MyAccountSignInContainerState
const { isEmailAvailable: prevIsEmailAvailable } = prevProps;

if (isCheckout && isEmailAvailable && !prevIsEmailAvailable) {
setSignInState(MyAccountPageState.STATE_SIGN_IN);
setSignInState('');
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export class RouterComponent extends PureComponent<RouterComponentProps, RouterC
name: RouterSwitchItemType.CONFIRM_ACCOUNT,
},
{
component: <Route path={ withStoreRegex('/sales/order/view/order_id/:orderId?') } render={ ({ match }) => <MyAccount match={ match } selectedTab={ MyAccountTabs.MY_ORDER } /> } />,
component: <Route path={ withStoreRegex('/sales/order/view/order_id/:orderId?') } render={ ({ match }) => <MyAccount match={ match } selectedTab={ MyAccountTabs.MY_ORDERS } /> } />,
position: 70,
name: RouterSwitchItemType.MY_ACCOUNT_ORDER,
},
Expand Down

0 comments on commit b361a5d

Please sign in to comment.