Skip to content

Commit 3997808

Browse files
authored
Update react-compiler.md (#6965)
Added missing comma to the codesample.
1 parent 56df8af commit 3997808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/learn/react-compiler.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ function reactCompilerLoader(sourceCode, sourceMap) {
341341

342342
this.callback(
343343
null,
344-
result.code
344+
result.code,
345345
result.map === null ? undefined : result.map
346346
);
347347
}

0 commit comments

Comments
 (0)