Skip to content

Commit 9036846

Browse files
committed
fix: Update AsyncBoundary link in BackupLoading component
1 parent 271545c commit 9036846

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.changeset/tricky-eagles-repeat.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@data-client/react': patch
3+
---
4+
5+
Update async boundary link in BackupLoading component

packages/react/src/components/BackupLoading.native.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default function BackupLoadingNative() {
1010
useEffect(() => {
1111
console.warn(
1212
`Uncaught suspense.
13-
Make sure to add your own Suspense boundaries: https://dataclient.io/docs/getting-started/data-dependency#async-fallbacks`,
13+
Make sure to add your own Suspense boundaries: https://dataclient.io/docs/getting-started/data-dependency#boundaries`,
1414
);
1515
}, []);
1616

@@ -23,7 +23,7 @@ Make sure to add your own Suspense boundaries: https://dataclient.io/docs/gettin
2323
style={{ color: 'blue' }}
2424
onPress={() =>
2525
Linking.openURL(
26-
'https://dataclient.io/docs/getting-started/data-dependency#async-fallbacks',
26+
'https://dataclient.io/docs/getting-started/data-dependency#boundaries',
2727
)
2828
}
2929
>

packages/react/src/components/BackupLoading.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ export default function BackupLoading() {
99
useMemo(() => {
1010
console.warn(
1111
`Uncaught suspense.
12-
Make sure to add your own Suspense boundaries: https://dataclient.io/docs/getting-started/data-dependency#async-fallbacks`,
12+
Make sure to add your own Suspense boundaries: https://dataclient.io/docs/getting-started/data-dependency#boundaries`,
1313
);
1414
}, []);
1515

1616
message = (
1717
<>
1818
<span>Uncaught Suspense.</span>
1919
Try
20-
<a href="https://dataclient.io/docs/getting-started/data-dependency#async-fallbacks">
20+
<a href="https://dataclient.io/docs/getting-started/data-dependency#boundaries">
2121
adding a suspense boundary
2222
</a>
2323
</>

0 commit comments

Comments
 (0)