Skip to content

Commit 09996d2

Browse files
committed
fix production ...
1 parent e5fbbe5 commit 09996d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/Grid.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@ export function ensureValue(options, base, key, value) {
4040
}
4141

4242
if (value >= 0) return value;
43-
return (options && options[key] >= 0)
43+
const result = (options && options[key] >= 0)
4444
? options[key]
4545
: base[key];
46+
return result;
4647
}
4748

4849
export function ensureListProperties(options, base, list) {

0 commit comments

Comments
 (0)