Fix error in routing via list patterns
This commit is contained in:
parent
879dbd93b8
commit
343a305be9
|
@ -69,7 +69,7 @@ function Handler(cachedCaptures) {
|
|||
function classOf(v) {
|
||||
if (v instanceof Record) {
|
||||
return v.getConstructorInfo();
|
||||
} else if (v instanceof Immutable.List) {
|
||||
} else if (Immutable.List.isList(v)) {
|
||||
return v.size;
|
||||
} else {
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue