chore: rollback some unecessary changes
This commit is contained in:
1 parent
e7e21fa2f0
commit
0dce3e03c8
6 files changed
+18
-18
No files matched your search
@@ -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)?;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user