feat(pwa): integrate InstallPrompt in dashboard layout
This commit is contained in:
@@ -5,6 +5,7 @@ import { useRouter, usePathname } from "next/navigation"
|
||||
import { useAuth } from "@/lib/auth"
|
||||
import { Loader2 } from "lucide-react"
|
||||
import { Sidebar } from "@/components/layout/Sidebar"
|
||||
import { InstallPrompt } from "@/components/ui/install-prompt"
|
||||
|
||||
export default function DashboardLayout({
|
||||
children,
|
||||
@@ -46,6 +47,7 @@ export default function DashboardLayout({
|
||||
{children}
|
||||
</div>
|
||||
</main>
|
||||
<InstallPrompt />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user