Skip to content

Commit 8331fcb

Browse files
devarshiqmtimdorr
andauthored
Update concepts.md (#8780)
Co-authored-by: Tim Dorr <timdorr@users.noreply.github.com>
1 parent 88daab8 commit 8331fcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/getting-started/concepts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ function useFakeFetch(URL) {
281281
fetch(URL, { signal: controller.signal })
282282
.then((res) => res.json())
283283
.then((data) => {
284-
if (controller.aborted) return;
284+
if (controller.signal.aborted) return;
285285
// set the cache
286286
cache.set(cacheKey, data);
287287
setData(data);

0 commit comments

Comments
 (0)