From 7c50a688f1fc4c8e903a7b9b49b98609e67e6cd3 Mon Sep 17 00:00:00 2001 From: Melissa Garcia Date: Fri, 21 Jun 2024 13:30:06 -0700 Subject: [PATCH] import lazy --- packages/gatsby-theme-aio/package.json | 2 +- .../gatsby-theme-aio/src/components/RedoclyAPIBlock/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/gatsby-theme-aio/package.json b/packages/gatsby-theme-aio/package.json index be3df91369..24293286ed 100644 --- a/packages/gatsby-theme-aio/package.json +++ b/packages/gatsby-theme-aio/package.json @@ -1,6 +1,6 @@ { "name": "@adobe/gatsby-theme-aio", - "version": "4.11.16-rc6", + "version": "4.11.16-rc7", "description": "The Adobe I/O theme for building markdown powered sites", "main": "index.js", "license": "Apache-2.0", diff --git a/packages/gatsby-theme-aio/src/components/RedoclyAPIBlock/index.js b/packages/gatsby-theme-aio/src/components/RedoclyAPIBlock/index.js index ec8fb2e318..810cb9f818 100644 --- a/packages/gatsby-theme-aio/src/components/RedoclyAPIBlock/index.js +++ b/packages/gatsby-theme-aio/src/components/RedoclyAPIBlock/index.js @@ -10,7 +10,7 @@ * governing permissions and limitations under the License. */ -import React, { useState, useEffect } from 'react'; +import React, { useState, useEffect, lazy } from 'react'; import { withPrefix } from 'gatsby'; import { SIDENAV_WIDTH, MOBILE_SCREEN_WIDTH, isExternalLink } from '../../utils'; import PropTypes from 'prop-types';