chore: rollback some unecessary changes

This commit is contained in:
Jonathan Kelley committed 2022-12-23 18:08:23 -05:00
1 parent e7e21fa2f0
commit 0dce3e03c8
6 files changed
+18 -18

No files matched your search

+2 -2
View File
@@ -22,13 +22,13 @@ enum ShortOptimization {
impl Buffer {
pub fn write_component(
&mut self,
ComponentNode {
Component {
name,
fields,
children,
manual_props,
prop_gen_args,
}: &ComponentNode,
}: &Component,
) -> Result {
self.write_component_name(name, prop_gen_args)?;
+2 -2
View File
@@ -22,13 +22,13 @@ enum ShortOptimization {
impl Buffer {
pub fn write_element(
&mut self,
ElementNode {
Element {
name,
key,
attributes,
children,
_is_static,
}: &ElementNode,
}: &Element,
) -> Result {
/*
1. Write the tag