File tree Expand file tree Collapse file tree 2 files changed +1
-27
lines changed Expand file tree Collapse file tree 2 files changed +1
-27
lines changed Original file line number Diff line number Diff line change @@ -12,32 +12,6 @@ import {MDXComponents} from 'components/MDX/MDXComponents';
1212import compileMDX from 'utils/compileMDX' ;
1313import { generateRssFeed } from '../../utils/rss' ;
1414
15- // Deserialize a client React tree from JSON.
16- function reviveNodeOnClient ( parentPropertyName , val ) {
17- if ( Array . isArray ( val ) && val [ 0 ] == '$r' ) {
18- let Type = val [ 1 ] ;
19- let key = val [ 2 ] ;
20- if ( key == null ) {
21- key = parentPropertyName ;
22- }
23- let props = val [ 3 ] ;
24- if ( Type === 'wrapper' ) {
25- Type = Fragment ;
26- props = { children : props . children } ;
27- }
28- if ( Type in MDXComponents ) {
29- Type = MDXComponents [ Type ] ;
30- }
31- if ( ! Type ) {
32- console . error ( 'Unknown type: ' + Type ) ;
33- Type = Fragment ;
34- }
35- return < Type key = { key } { ...props } /> ;
36- } else {
37- return val ;
38- }
39- }
40-
4115function getActiveSection ( pathname ) {
4216 if ( pathname === '/' ) {
4317 return 'home' ;
Original file line number Diff line number Diff line change @@ -298,4 +298,4 @@ See the first blog post: [Why did we build React?](https://legacy.reactjs.org/bl
298298
299299React was open sourced at Facebook Seattle in 2013:
300300
301- <iframe width =" 560 " height =" 315 " src =" https://www.youtube.com/embed/XxVg_s8xAms?si=466vSJrnXTn05j9A " title =" YouTube video player " frameborder =" 0 " allow =" accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share " referrerpolicy =" strict-origin-when-cross-origin " allowfullscreen ></iframe >
301+ <iframe width =" 560 " height =" 315 " src =" https://www.youtube.com/embed/XxVg_s8xAms?si=466vSJrnXTn05j9A " title =" YouTube video player " frameBorder =" 0 " allow =" accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share " referrerPolicy =" strict-origin-when-cross-origin " allowFullScreen ></iframe >
You can’t perform that action at this time.
0 commit comments