From 5b58896766cbba25e5189c106aa8b184ef4e0039 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Sun, 12 Nov 2023 01:15:27 +0100 Subject: [PATCH] [docs-infra] Fix hydration api (#39706) --- docs/src/modules/components/ApiPage.js | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/docs/src/modules/components/ApiPage.js b/docs/src/modules/components/ApiPage.js index f5a28be7cd2519..78e4abbf18364a 100644 --- a/docs/src/modules/components/ApiPage.js +++ b/docs/src/modules/components/ApiPage.js @@ -4,6 +4,7 @@ import PropTypes from 'prop-types'; import { exactProp } from '@mui/utils'; import Typography from '@mui/material/Typography'; import Divider from '@mui/material/Divider'; +import AdGuest from 'docs/src/modules/components/AdGuest'; import Alert from '@mui/material/Alert'; import VerifiedRoundedIcon from '@mui/icons-material/VerifiedRounded'; import { alpha } from '@mui/material/styles'; @@ -12,7 +13,7 @@ import HighlightedCode from 'docs/src/modules/components/HighlightedCode'; import MarkdownElement from 'docs/src/modules/components/MarkdownElement'; import AppLayoutDocs from 'docs/src/modules/components/AppLayoutDocs'; import Ad from 'docs/src/modules/components/Ad'; - +import BrandingProvider from 'docs/src/BrandingProvider'; import PropertiesSection, { getPropsToC, } from 'docs/src/modules/components/ApiPage/sections/PropertiesSection'; @@ -183,14 +184,15 @@ export default function ApiPage(props) { >

{pageContent.name} API

- + {description} - {disableAd ? null : } + {disableAd ? null : ( + + + + + + )}