@@ -7,13 +7,9 @@ import clsx from "clsx";
77import { Icon } from "@iconify/react" ; // Import the entire Iconify library.
88import { Tooltip } from "react-tooltip"
99
10- import { Icons } from "/src/icons" ;
11-
1210type Props = WrapperProps < typeof LayoutType > ;
1311
1412export default function LayoutWrapper ( props : Props ) : ReactNode {
15- const [ isOpen , setIsOpen ] = useState ( true ) ;
16-
1713 return (
1814 < >
1915 < Tooltip id = "internal-api-tooltip" place = "bottom" className = "react-tooltip"
@@ -54,33 +50,6 @@ export default function LayoutWrapper(props: Props): ReactNode {
5450 < Tooltip id = "generic-tooltip" className = "react-tooltip"
5551 classNameArrow = "react-tooltip-arrow" opacity = "1" />
5652
57- {
58- // TODO: Remove warning on release!
59- isOpen ?
60- < div className = { styles . full } >
61- < div className = { clsx ( styles . grow , "card warning no-border" , styles . note ) } >
62- < div className = { styles . row } >
63- < span className = { styles . header } > Work In Progress</ span >
64- < div className = { styles . grow } > </ div >
65-
66- < a href = "#" onClick = { ( e ) => {
67- setIsOpen ( false ) ;
68- e . preventDefault ( )
69- } } >
70- < Icon icon = { Icons . close } height = "1.5em" className = "text-inverted" />
71- </ a >
72- </ div >
73-
74- < div >
75- This documentation is in beta. It's missing lots of content, search is
76- broken, and many links go nowhere.
77- These problems will be fixed before release, but there's plenty of work left!
78- </ div >
79- </ div >
80- </ div > :
81- < > </ >
82- }
83-
8453 < Layout { ...props } />
8554 </ >
8655 ) ;
0 commit comments