Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Remove the extra <div> around ProvideContext

天舟f4930b073ddb
diff --git a/frontend/src/layouts/DashboardLayout.vue b/frontend/src/layouts/DashboardLayout.vue
index 78676b9089..36771e8775 100644
--- a/frontend/src/layouts/DashboardLayout.vue
+++ b/frontend/src/layouts/DashboardLayout.vue
@@ -2,19 +2,17 @@
<!-- Suspense is experimental, be aware of the potential change -->
<Suspense>
<template #default>
- <div>
- <ProvideContext>
- <div class="relative h-screen overflow-hidden flex flex-col">
- <BannerDemo v-if="isDemo()" />
- <nav class="bg-white border-b border-block-border">
- <div class="max-w-full mx-auto px-4">
- <DashboardHeader />
- </div>
- </nav>
- <router-view name="body" />
- </div>
- </ProvideContext>
- </div>
+ <ProvideContext>
+ <div class="relative h-screen overflow-hidden flex flex-col">
+ <BannerDemo v-if="isDemo()" />
+ <nav class="bg-white border-b border-block-border">
+ <div class="max-w-full mx-auto px-4">
+ <DashboardHeader />
+ </div>
+ </nav>
+ <router-view name="body" />
+ </div>
+ </ProvideContext>
</template>
<template #fallback>
<span>Loading...</span>