mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
refactor: reposition DashCommand component in MainLayout
This commit is contained in:
parent
d715d050d2
commit
77ac6f2f44
@ -17,8 +17,8 @@ export default function MainLayout({ children }: DashboardProps) {
|
|||||||
<Header />
|
<Header />
|
||||||
<AuthProtected>
|
<AuthProtected>
|
||||||
<ServerDataProvider>
|
<ServerDataProvider>
|
||||||
<DashCommand />
|
|
||||||
{children}
|
{children}
|
||||||
|
<DashCommand />
|
||||||
</ServerDataProvider>
|
</ServerDataProvider>
|
||||||
</AuthProtected>
|
</AuthProtected>
|
||||||
<Footer />
|
<Footer />
|
||||||
|
Loading…
Reference in New Issue
Block a user