Fix ScenesReducer test

This commit is contained in:
Brent Vatne
2018-06-08 17:44:32 -07:00
parent df2ef55122
commit c420813545

View File

@@ -70,7 +70,7 @@ export default function ScenesReducer(
// It will be resolved in a better way when we re-write Transitioner
scenes.forEach(scene => {
const { route } = scene;
if (descriptors[route.key]) {
if (descriptors && descriptors[route.key]) {
scene.descriptor = descriptors[route.key];
}
});