From 3fd1168504151495e7b1be81bc48d4097107ed9a Mon Sep 17 00:00:00 2001 From: Steven Tey Date: Sat, 7 May 2022 13:50:31 -0700 Subject: [PATCH] Fixed typo (#36753) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint` --- docs/basic-features/data-fetching/client-side.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/basic-features/data-fetching/client-side.md b/docs/basic-features/data-fetching/client-side.md index 6b1768a6e901b..d738cbd2d742d 100644 --- a/docs/basic-features/data-fetching/client-side.md +++ b/docs/basic-features/data-fetching/client-side.md @@ -21,7 +21,7 @@ function Profile() { useEffect(() => { setLoading(true) - fetch('api/profile-data') + fetch('/api/profile-data') .then((res) => res.json()) .then((data) => { setData(data)