File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ module.exports = {
109
109
rules : {
110
110
"mdx/remark" : "error" ,
111
111
"no-unused-expressions" : "off" ,
112
+ "react/jsx-no-undef" : "off" ,
112
113
} ,
113
114
} ,
114
115
{
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ export default function Page() {
54
54
</ div >
55
55
< div className = "flex items-center gap-10" >
56
56
< svg
57
- className = "w-[50%] "
57
+ className = "w-1/2 "
58
58
viewBox = "0 0 1239 142"
59
59
fill = "currentColor"
60
60
xmlns = "http://www.w3.org/2000/svg"
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ export async function ServerComponentMarkdown({
49
49
return render ( { data : vfile . data , mdx } )
50
50
} catch ( error ) {
51
51
console . error ( error )
52
+ if ( process . env . NODE_ENV === "production" ) throw error
52
53
return (
53
54
< div > { error instanceof Error ? error . message : "Error loading MDX" } </ div >
54
55
)
You can’t perform that action at this time.
0 commit comments