Skip to content

Commit 4630056

Browse files
committed
Remove warning banner
1 parent 3177f84 commit 4630056

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

src/theme/Layout/index.tsx

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,9 @@ import clsx from "clsx";
77
import {Icon} from "@iconify/react"; // Import the entire Iconify library.
88
import {Tooltip} from "react-tooltip"
99

10-
import {Icons} from "/src/icons";
11-
1210
type Props = WrapperProps<typeof LayoutType>;
1311

1412
export 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

Comments
 (0)