Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not run property patching when the inline style plugin is active (#…
…6635) ## Problem https://github.com/concrete-utopia/utopia/blob/9e34bde077fbb324e4bb2fcbf9ffc067e680aa60/editor/src/components/canvas/plugins/style-plugins.ts#L180 Since `StyleInfo` only supports a subset of the style props that the editor updates/deletes, this error is triggered many times during normal editor use. When the inline style plugin is active (which is always the case when the Tailwind feature flag isn't expressly turned on), this error isn't signalling an actual error, since removed properties don't have to be zeroed when the project only uses inline styles. ## Fix Do not run the zeroing code if the inline style plugin is active, since it's not actually needed in that case ### Manual Tests I hereby swear that: - [x] I opened a hydrogen project and it loaded - [x] I could navigate to various routes in Play mode
- Loading branch information