Skip to content

Commit 7a7f4b1

Browse files
author
fwio
authored
docs(start/data/data-loading): fix typo (#13571)
1 parent afd2180 commit 7a7f4b1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

contributors.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,3 +387,4 @@
387387
- yuleicul
388388
- zeromask1337
389389
- zheng-chuang
390+
- 3fuyang

docs/start/data/data-loading.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Data is provided to route components from route loaders:
1515
createBrowserRouter([
1616
{
1717
path: "/",
18-
loader: () => {
18+
loader: async () => {
1919
// return data from here
2020
return { records: await getSomeRecords() };
2121
},

0 commit comments

Comments
 (0)