From 89a24bdc1236981a3c9d6e4f35afb5af487aaa44 Mon Sep 17 00:00:00 2001 From: k-murakami0609 Date: Mon, 11 Jun 2018 02:41:18 +0900 Subject: [PATCH] fix broken link to Common mistakes (#4468) --- src/__tests__/__snapshots__/NavigationContainer-test.js.snap | 2 +- src/utils/docsUrl.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/__tests__/__snapshots__/NavigationContainer-test.js.snap b/src/__tests__/__snapshots__/NavigationContainer-test.js.snap index 507aa4d..61b649d 100644 --- a/src/__tests__/__snapshots__/NavigationContainer-test.js.snap +++ b/src/__tests__/__snapshots__/NavigationContainer-test.js.snap @@ -5,7 +5,7 @@ Object { "console": [MockFunction] { "calls": Array [ Array [ - "You should only render one navigator explicitly in your app, and other navigators should by rendered by including them in that navigator. Full details at: https://v2.reactnavigation.org/docs/common-mistakes.html#explicitly-rendering-more-than-one-navigator", + "You should only render one navigator explicitly in your app, and other navigators should by rendered by including them in that navigator. Full details at: https://reactnavigation.org/docs/common-mistakes.html#explicitly-rendering-more-than-one-navigator", ], ], }, diff --git a/src/utils/docsUrl.js b/src/utils/docsUrl.js index 694f5b3..51a90f5 100644 --- a/src/utils/docsUrl.js +++ b/src/utils/docsUrl.js @@ -1,3 +1,3 @@ export default function docsUrl(path) { - return `https://v2.reactnavigation.org/docs/${path}`; + return `https://reactnavigation.org/docs/${path}`; }