Fix error in routing via list patterns

This commit is contained in:
Tony Garnock-Jones 2018-11-21 13:13:42 +00:00
parent 879dbd93b8
commit 343a305be9
1 changed files with 1 additions and 1 deletions

View File

@ -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;