microsoft / design-to-code

A system of development tools, and utilities used à la carte or as a suite to build enterprise-grade websites and applications.
MIT License
24 stars 6 forks source link

Fixed an issue in the HTML render layer web component #188

Closed janechu closed 2 years ago

janechu commented 2 years ago

Pull Request

📖 Description

The previous fix addressed one issue with custom messages in the HTML Render, but there was a further attempt at processing custom messages on the HTML Render Layer. Additionally, the HTML Render was attempting to set the dataDictionary when a custom message was sent so the logic to understand when a message is one that needs attention has been moved to the parent if block.

👩‍💻 Reviewer Notes

This was checked using npm link. It appears to work correctly with no more runtime errors.

✅ Checklist

General