+ {renderContent(layoutNode.data, ready, onClose)}
+
+ )
+ );
+ }, [, layoutNode.data, ready, onClose]);
+
return (
({ layoutNode, renderContent, transform, onLeafClose }: Til
...transform,
}}
>
- {layoutNode.data && (
-
- {renderContent(layoutNode.data, onClose)}
-
- )}
+ {leafContent}
);
};
diff --git a/frontend/faraday/lib/model.ts b/frontend/faraday/lib/model.ts
index 2824ed091..dda6a7042 100644
--- a/frontend/faraday/lib/model.ts
+++ b/frontend/faraday/lib/model.ts
@@ -130,4 +130,4 @@ export type WritableLayoutNodeAtom