Skip to content

Commit 5a3ca06

Browse files
committed
fix(learn): modify 期望 to 預期
1 parent f52a126 commit 5a3ca06

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/content/learn/lifecycle-of-reactive-effects.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1719,7 +1719,7 @@ async function fetchPlanets() {
17191719
async function fetchPlaces(planetId) {
17201720
if (typeof planetId !== 'string') {
17211721
throw Error(
1722-
'fetchPlaces(planetId) 期望接收一個字串作為引數' +
1722+
'fetchPlaces(planetId) 預期接收一個字串作為引數' +
17231723
'但實際收到: ' + planetId + ''
17241724
);
17251725
}
@@ -1887,7 +1887,7 @@ async function fetchPlanets() {
18871887
async function fetchPlaces(planetId) {
18881888
if (typeof planetId !== 'string') {
18891889
throw Error(
1890-
'fetchPlaces(planetId) 期望接收一個字串作為引數' +
1890+
'fetchPlaces(planetId) 預期接收一個字串作為引數' +
18911891
'但實際收到: ' + planetId + ''
18921892
);
18931893
}
@@ -2050,7 +2050,7 @@ async function fetchPlanets() {
20502050
async function fetchPlaces(planetId) {
20512051
if (typeof planetId !== 'string') {
20522052
throw Error(
2053-
'fetchPlaces(planetId) 期望接收一個字串作為引數' +
2053+
'fetchPlaces(planetId) 預期接收一個字串作為引數' +
20542054
'但實際收到: ' + planetId + ''
20552055
);
20562056
}

0 commit comments

Comments
 (0)