Skip to content

Commit 45dcef8

Browse files
committed
updating cover image
1 parent 8946e86 commit 45dcef8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

reactjsfoundations.com/src/routes.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ import * as Chapter09 from './chapter09';
77
import ErrorBoundary from './chapter13/ErrorBoundary';
88
import SyntaxHighlighter from 'react-syntax-highlighter';
99
import { github } from 'react-syntax-highlighter/dist/esm/styles/hljs';
10-
import WpBlog from './WpBlog';
11-
import WpBlogSP from './WpBlogSP';
10+
11+
const WpBlog = lazy(() => import('./WpBlog'));
12+
const WpBlogSP = lazy(() => import('./WpBlogSP'));
1213
const Introduction = lazy(() => import('./Introduction'));
1314
const WhereToBuy = lazy(() => import('./WhereToBuy'));
1415
const About = lazy(() => import('./About'));

0 commit comments

Comments
 (0)