Skip to content
This repository has been archived by the owner on Feb 15, 2019. It is now read-only.

fix recursive function to play well with metro bundler, fix facebook/… #498

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/ExNavigationRouter.js
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ export function createRouter<RC: RouteCreator>(
return new ExNavigationRouter(routesCreator, options);
}

function _isSerializable(obj: Object): boolean {
const _isSerializable = (obj) => {
if (
_.isUndefined(obj) ||
_.isNull(obj) ||
Expand All @@ -356,4 +356,4 @@ function _isSerializable(obj: Object): boolean {
}

return true;
}
};