Skip to content
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

Merged
merged 7 commits into from
Mar 11, 2021
Merged

Conversation

rycastaneda
Copy link
Contributor

Fixes for #3013

Description

Null check for element styling

Related Issue

Closes #3013

Acceptance

Verification Stakeholders

Specification

Verification Steps

  1. Go to a custom page built with pagebuilder with a custom CMS block
  2. Verify that the page loads correctly without error

@PWAStudioBot
Copy link
Contributor

PWAStudioBot commented Feb 18, 2021

Messages
📖 DangerCI Failures related to missing labels/description/linked issues/etc will persist until the next push or next nightly build run (assuming they are fixed).
📖

Access a deployed version of this PR here. Make sure to wait for the "pwa-pull-request-deploy" job to complete.

Generated by 🚫 dangerJS against ca14aae

eug123
eug123 previously approved these changes Feb 26, 2021
Signed-off-by: sirugh <rugh@adobe.com>
Copy link
Contributor

@jimbo jimbo left a 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]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yikes, good change. 👍

@jimbo jimbo added the version: Patch This changeset includes backwards compatible bug fixes. label Mar 2, 2021
@dpatil-magento
Copy link
Contributor

dpatil-magento commented Mar 9, 2021

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.

@dpatil-magento dpatil-magento merged commit eca7919 into magento:develop Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg:pagebuilder Progress: done version: Patch This changeset includes backwards compatible bug fixes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix pagebuilder null check bug
6 participants