import type { ReactNode } from 'react'; import { useEffect } from 'react'; // import { CSSTransition } from 'react-transition-group'; import tw from 'twin.macro'; import FlashMessageRender from '@/components/FlashMessageRender'; const AdminContentBlock: React.FC<{ children: ReactNode; title?: string; showFlashKey?: string; className?: string; }> = ({ children, title, showFlashKey }) => { useEffect(() => { if (!title) { return; } document.title = `Admin | ${title}`; }, [title]); return ( // <> {showFlashKey && } {children} {/*

© 2015 - 2021  Pterodactyl Software

*/} //
); }; export default AdminContentBlock;