Skip to content

Commit ee3b291

Browse files
authored
Merge pull request #16 from unagidev/develop
2 parents 529e13c + 8bc355f commit ee3b291

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/properties/align.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// @flow
22
import Property from './base';
3+
import { isArr } from '../helpers';
34

45
export type MainAxisAlign =
56
| 'start'
@@ -43,7 +44,7 @@ class Align extends Property {
4344

4445
return [mainAxis, crossAxis];
4546
}
46-
if (typeof config === Array) {
47+
if (isArr(config)) {
4748
//$FlowFixMe
4849
[mainAxis, crossAxis] = config;
4950
mainAxis =

0 commit comments

Comments
 (0)