docs: remove dev notices + fix AI assistant answer width (#9686)

* docs: remove dev notices + fix AI assistant answer width

* fix import

* more notes removal

* rc to latest
This commit is contained in:
Shahed Nasser
2024-10-23 09:52:52 +02:00
committed by GitHub
parent 8891c0a3d0
commit c08df5ac44
35 changed files with 120 additions and 332 deletions
@@ -3,19 +3,17 @@
import React, { useEffect } from "react"
import { useSidebar } from "../providers/Sidebar"
import clsx from "clsx"
import { Bannerv2, MainNav, useIsBrowser } from ".."
import { MainNav, useIsBrowser } from ".."
export type MainContentLayoutProps = {
mainWrapperClasses?: string
contentClassName?: string
showBanner?: boolean
children: React.ReactNode
}
export const MainContentLayout = ({
children,
mainWrapperClasses,
showBanner = true,
contentClassName,
}: MainContentLayoutProps) => {
const { isBrowser } = useIsBrowser()
@@ -43,7 +41,6 @@ export const MainContentLayout = ({
mainWrapperClasses
)}
>
{showBanner && <Bannerv2 />}
<div
className={clsx(
"bg-medusa-bg-base",