mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 23:12:35 +00:00
Plugins base (#613)
* wip * wip * cleanup * notification channels * phpstan * services * remove server types * refactoring * refactoring
This commit is contained in:
@ -19,13 +19,6 @@ export default function Layout({
|
||||
secondNavTitle?: string;
|
||||
}>) {
|
||||
const page = usePage<SharedData>();
|
||||
// const [sidebarOpen, setSidebarOpen] = useState(
|
||||
// (localStorage.getItem('sidebar') === 'true' || false) && !!(secondNavItems && secondNavItems.length > 0),
|
||||
// );
|
||||
// const sidebarOpenChange = (open: boolean) => {
|
||||
// setSidebarOpen(open);
|
||||
// localStorage.setItem('sidebar', String(open));
|
||||
// };
|
||||
|
||||
if (page.props.flash && page.props.flash.success) {
|
||||
toast(
|
||||
|
Reference in New Issue
Block a user