Skip to content

Commit eab7cab

Browse files
authored
Fix typo in server-rendering pages
1 parent 92ebfe5 commit eab7cab

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

versioned_docs/version-5.x/server-rendering.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ function NotFound() {
163163
const status = React.useContext(StatusCodeContext);
164164

165165
if (status) {
166-
staus.code = 404;
166+
status.code = 404;
167167
}
168168

169169
return (

versioned_docs/version-6.x/server-rendering.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ function NotFound() {
161161
const status = React.useContext(StatusCodeContext);
162162

163163
if (status) {
164-
staus.code = 404;
164+
status.code = 404;
165165
}
166166

167167
return (

versioned_docs/version-7.x/server-rendering.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ function NotFound() {
213213
const status = React.useContext(StatusCodeContext);
214214

215215
if (status) {
216-
staus.code = 404;
216+
status.code = 404;
217217
}
218218

219219
return (

0 commit comments

Comments
 (0)