From 37e7e3834a4b60384ee7d372af09537968a81840 Mon Sep 17 00:00:00 2001 From: Xiaoji Chen Date: Sun, 6 Feb 2022 12:07:47 -0800 Subject: [PATCH] Fix broken links in docs (#1724) --- docs/api-reference/use-map.md | 2 +- docs/get-started/state-management.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/api-reference/use-map.md b/docs/api-reference/use-map.md index f404787d..64942135 100644 --- a/docs/api-reference/use-map.md +++ b/docs/api-reference/use-map.md @@ -28,7 +28,7 @@ function NavigateButton() { } ``` -See a full example [here](/examples/get-started/hook). +See a full example [here](https://github.com/visgl/react-map-gl/tree/7.0-release/examples/get-started/hook). ## Signature diff --git a/docs/get-started/state-management.md b/docs/get-started/state-management.md index 8df3d448..1f803f69 100644 --- a/docs/get-started/state-management.md +++ b/docs/get-started/state-management.md @@ -8,7 +8,7 @@ There are two ways to use a [Map](/docs/api-reference/map.md): ## Uncontrolled Map -You may clone a full app configuration for this example [here](/examples/get-started/basic). +You may clone a full app configuration for this example [here](https://github.com/visgl/react-map-gl/tree/7.0-release/examples/get-started/basic). ```js import * as React from 'react'; @@ -28,7 +28,7 @@ function App() { ## Controlled Map -You may clone a full app configuration for this example [here](/examples/get-started/controlled). +You may clone a full app configuration for this example [here](https://github.com/visgl/react-map-gl/tree/7.0-release/examples/get-started/controlled). ```js import * as React from 'react'; @@ -51,8 +51,8 @@ function App() { A real-world application likely uses more complicated state flows: -- Using map with a state store (Redux) [example](/examples/get-started/redux) -- Using map with SSR (Next.js) [example](/examples/get-started/nextjs) +- Using map with a state store (Redux) [example](https://github.com/visgl/react-map-gl/tree/7.0-release/examples/get-started/redux) +- Using map with SSR (Next.js) [example](https://github.com/visgl/react-map-gl/tree/7.0-release/examples/get-started/nextjs) ## Custom Camera Constraints