This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/client/lib/signup/step-actions/index.js b/client/lib/signup/step-actions/index.js | |
index 92f0017eed..62c0680aec 100644 | |
--- a/client/lib/signup/step-actions/index.js | |
+++ b/client/lib/signup/step-actions/index.js | |
@@ -153,7 +153,7 @@ function getNewSiteParams( { | |
const siteSegment = getSiteTypePropertyValue( 'slug', siteType, 'id' ); | |
const siteTypeTheme = getSiteTypePropertyValue( 'slug', siteType, 'theme' ); | |
const selectedDesign = get( signupDependencies, 'selectedDesign', false ); | |
- const userId = getCurrentUserId( state ); | |
+ const userId = signupDependencies.user_id || getCurrentUserId( state ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/client/landing/gutenboarding/onboarding-block/style-preview/font-select.tsx b/client/landing/gutenboarding/onboarding-block/style-preview/font-select.tsx | |
index 090a9eab53..8284ad01c6 100644 | |
--- a/client/landing/gutenboarding/onboarding-block/style-preview/font-select.tsx | |
+++ b/client/landing/gutenboarding/onboarding-block/style-preview/font-select.tsx | |
@@ -141,9 +141,13 @@ const FontSelect: React.FunctionComponent = () => { | |
return ( | |
<Button | |
- className={ classnames( 'style-preview__font-option', { | |
- 'is-selected': isSelected, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* WordPress dependencies | |
*/ | |
import { Placeholder, withNotices } from '@wordpress/components'; | |
import { useEffect } from '@wordpress/element'; | |
import { __ } from '@wordpress/i18n'; | |
import { resizeCornerNE as icon } from '@wordpress/icons'; | |
const Edit = withNotices( ( { noticeOperations, noticeUI } ) => { | |
useEffect( () => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Action Creators | |
class IncrementCounter { | |
readonly type = 'INCREMENT_COUNTER'; | |
} | |
class SetCounter { | |
readonly type = 'SET_COUNTER'; | |
constructor( public newValue: number ) {} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/client/assets/stylesheets/shared/_typography.scss b/client/assets/stylesheets/shared/_typography.scss | |
index 4a59103c03..34e69045bb 100644 | |
--- a/client/assets/stylesheets/shared/_typography.scss | |
+++ b/client/assets/stylesheets/shared/_typography.scss | |
@@ -1,4 +1,4 @@ | |
-@import '~@automattic/components/src/styles/_typography.scss'; | |
+@import '~@automattic/components/sass/_typography.scss'; | |
// Typeface Variables | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/client/my-sites/checkout/checkout/checkout-container.jsx b/client/my-sites/checkout/checkout/checkout-container.jsx | |
index 3f03dbf5ca..c5a68b0101 100644 | |
--- a/client/my-sites/checkout/checkout/checkout-container.jsx | |
+++ b/client/my-sites/checkout/checkout/checkout-container.jsx | |
@@ -35,13 +35,10 @@ function isSiteCreatedDateNew( createdAt, creationWindowInMinutes = 5 ) { | |
class CheckoutContainer extends React.Component { | |
state = { | |
headerText: '', | |
- shouldDisplaySiteCreatedNotice: | |
- this.props.isComingFromSignup && |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/client/my-sites/checkout/checkout/secure-payment-form.jsx b/client/my-sites/checkout/checkout/secure-payment-form.jsx | |
index f30dafbf33..ff83ebadd1 100644 | |
--- a/client/my-sites/checkout/checkout/secure-payment-form.jsx | |
+++ b/client/my-sites/checkout/checkout/secure-payment-form.jsx | |
@@ -193,7 +193,7 @@ export class SecurePaymentForm extends Component { | |
} ); | |
}; | |
- submitTransaction( event ) { | |
+ async submitTransaction( event ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function useTraceUpdate(props) { | |
const prev = useRef(props); | |
useEffect(() => { | |
const changedProps = Object.entries(props).reduce((ps, [k, v]) => { | |
if (prev.current[k] !== v) { | |
ps[k] = [prev.current[k], v]; | |
} | |
return ps; | |
}, {}); | |
if (Object.keys(changedProps).length > 0) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[dependencies] | |
schannel = "0.0.2" | |
[dependencies.hyper] | |
version = "0.7" | |
default-features = false |
NewerOlder