We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25c91ac commit 0bfe50bCopy full SHA for 0bfe50b
1 file changed
packages/react-resizable-panels/src/utils/computePanelFlexBoxStyle.ts
@@ -26,8 +26,7 @@ export function computePanelFlexBoxStyle({
26
if (size == null) {
27
// Initial render (before panels have registered themselves)
28
// In order to support server rendering, fall back to default size if provided
29
- flexGrow =
30
- defaultSize != undefined ? defaultSize.toFixed(precision) : "1";
+ flexGrow = defaultSize != undefined ? defaultSize.toFixed(precision) : "1";
31
} else if (panelData.length === 1) {
32
// Special case: Single panel group should always fill full width/height
33
flexGrow = "1";
0 commit comments