Skip to content

Commit 3fd1168

Browse files
authored
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`
1 parent a84672e commit 3fd1168

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/basic-features/data-fetching/client-side.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function Profile() {
2121

2222
useEffect(() => {
2323
setLoading(true)
24-
fetch('api/profile-data')
24+
fetch('/api/profile-data')
2525
.then((res) => res.json())
2626
.then((data) => {
2727
setData(data)

0 commit comments

Comments
 (0)