playbook_ui 14.16.0.pre.alpha.PLAY1929bracketlayout6927 → 14.16.0.pre.alpha.PLAY1929bracketlayout6928

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 16f8bb0105f1cb3ed42b3ced5e3404771f205fd4f7ad0ffe6a369a611adcedb6
4
- data.tar.gz: 257b900f5c2e0c6b13e1aea22038f85fccb2a122393bac58a44db05a6ccd3a4f
3
+ metadata.gz: a662ac00a58962478fd0e17b00eafdf564565248e188d6714a7139318ca5758c
4
+ data.tar.gz: 3fa81ed933a72351905b30edc947d12ed47a33e8473ce254e2599afdd782e706
5
5
  SHA512:
6
- metadata.gz: cabc6aa7b699425aad6e5f1a6b21a7c95179b1508febb11bd8c273c69773b22ec7475c2e1a09008016685e6f3448f4afbdb6ac0c7260d50ffb8fb81cba215161
7
- data.tar.gz: ce3a688284ae165abdcecdc21437385de43e9bb6518667c87e63ab8ce3a96a3c69b92c220025a6a5b1eb99b55175c1f5d9233ffa272c24158d63e2d3f52b3fc4
6
+ metadata.gz: 225891d0ef19e642aa13f378c982b88f0ccc87bc69458d26434c9bd647c9043ed902c72cd15e394c1460f95708207c7a38f74a88c40698fd271a705ae1bf3e8e
7
+ data.tar.gz: 6290be554bbfe1f72395ec5b2ded95ec449d5e04822672eb6bb55c35e05d7049a496915263393a26f07b114405d28712e50dc2dcc8ed8733900bac71273305af
@@ -19,9 +19,10 @@ const Game = (props: LayoutGameProps) => {
19
19
  const { children, className, numberOfRounds, numberOfGames, isOdd } = props
20
20
  const dynamicInlineProps = globalInlineProps(props)
21
21
 
22
+ const numberOfChildren = Array.isArray(children) ? children.length : 0
23
+
22
24
  const isMultiple = Array.isArray(children)
23
- const numberOfChildren = isMultiple ? children.length : 0
24
-
25
+
25
26
  let ratio = 0
26
27
  let exponent
27
28
  if (numberOfGames > 1) {