-
Notifications
You must be signed in to change notification settings - Fork 687
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Null check for element styling #3016
Conversation
|
Signed-off-by: sirugh <rugh@adobe.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution, it makes sense to me. Will get this on our board.
@@ -10,7 +10,7 @@ import parseStorageHtml from './parseStorageHtml'; | |||
* @constructor | |||
*/ | |||
export default function PageBuilder({ html, classes }) { | |||
const data = parseStorageHtml(html); | |||
const data = useMemo(() => parseStorageHtml(html), [html]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yikes, good change. 👍
QA Approved. @rycastaneda Please sign Adobe CLA https://github.com/magento/pwa-studio/pull/3016/checks?check_run_id=2071055563, I won't be able to merge until the CI check turns green. |
Fixes for #3013
Description
Null check for element styling
Related Issue
Closes #3013
Acceptance
Verification Stakeholders
Specification
Verification Steps