diff --git a/src/libs/actions/Policy.js b/src/libs/actions/Policy.js index b2d7b12f1534..fa42b6ca3938 100644 --- a/src/libs/actions/Policy.js +++ b/src/libs/actions/Policy.js @@ -237,8 +237,10 @@ function create(name = '') { role: CONST.POLICY.ROLE.ADMIN, }); }).then(() => { - Navigation.dismissModal(); - Navigation.navigate(ROUTES.getWorkspaceCardRoute(res.policyID)); + if (res) { + Navigation.dismissModal(); + Navigation.navigate(ROUTES.getWorkspaceCardRoute(res.policyID)); + } }); }