Skip to content

Commit ccbeed9

Browse files
committed
More tuning
1 parent 5a1fc71 commit ccbeed9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/HomepageFeatures.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
import React, { Suspense } from "react";
1+
import React, { Suspense, lazy } from "react";
22
import clsx from "clsx";
33
import styles from "./HomepageFeatures.module.css";
44
import useBaseUrl from "@docusaurus/useBaseUrl";
5-
import ThemedImage from "@theme/ThemedImage";
5+
6+
const ThemedImage = lazy(() => import("@theme/ThemedImage"));
67

78
// List of features to be displayed on the homepage
89
const FeatureList = [

0 commit comments

Comments
 (0)