Skip to content

Commit 4fa16a0

Browse files
yairoprosatya164
andauthored
Fix typo in server-rendering pages (#1426)
Co-authored-by: Satyajit Sahoo <satyajit.happy@gmail.com>
1 parent 21132ab commit 4fa16a0

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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 (

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

Lines changed: 1 addition & 1 deletion
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)