File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
remix/lessons/04-responses-and-errors/lecture Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import {
12
12
} from '@remix-run/react'
13
13
import { type LinksFunction , json } from '@remix-run/node'
14
14
import stylesheet from '~/styles/app.css'
15
- import { MainLayout } from './components/MainLayout'
15
+ import { CenterContent , MainLayout } from './components/MainLayout'
16
16
import { LessonProvider } from '~/state/LessonContext'
17
17
import { Heading } from '~/components/Heading'
18
18
@@ -68,10 +68,12 @@ export function ErrorBoundary() {
68
68
}
69
69
70
70
return (
71
- < div className = "bg-white p-6 rounded-md space-y-6" >
72
- < Heading size = { 1 } > { heading } </ Heading >
73
- < p > { message } </ p >
74
- </ div >
71
+ < CenterContent className = "pt-6 pb-20" >
72
+ < div className = "bg-white p-6 rounded-md space-y-6" >
73
+ < Heading size = { 1 } > { heading } </ Heading >
74
+ < p > { message } </ p >
75
+ </ div >
76
+ </ CenterContent >
75
77
)
76
78
}
77
79
You can’t perform that action at this time.
0 commit comments